fevzi02

5.1

Dec 17th, 2021 (edited)
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.55 KB | None | 0 0
  1. from tkinter import *
  2.  
  3. root = Tk()
  4. u1_frame = Frame(root, width=300, height=320)
  5. u1_frame.grid(row=0, column=0)
  6. c = Canvas(root, width=300, height=320)
  7.  
  8. c.place(x=150, y=160, anchor="c")
  9. c.create_line(150,270,150,60, fill="#77DDE7", width=140, arrow=LAST, arrowshape="80 80 30")
  10. c.create_oval(230, 20, 290, 80, fill="orange", outline="orange")
  11. for i in range(40):
  12.     c.create_arc(-80+i*15, 260, 10+i*14, 390,
  13.                  start=90, extent=90,
  14.                  style=ARC, outline='green',
  15.                  width=3)
  16. #=============
  17. root.mainloop()
Add Comment
Please, Sign In to add comment