How to drowing square in python gui | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to drowing square in python gui

Give me answer

8th May 2019, 11:07 AM
Govind Kumawat
Govind Kumawat - avatar
3 Answers
+ 3
import tkinter as tk master = tk.Tk() cv = tk.Canvas(master, width=300, height=300) cv.pack() cv.create_rectangle(0, 0, 300, 300, fill='black') master.mainloop()
8th May 2019, 2:37 PM
Mert Yazıcı
Mert Yazıcı - avatar
+ 1
This 'question' has no meaning, write properly and explain what is it you want know in the description.
8th May 2019, 11:19 AM
Aymane Boukrouh
Aymane Boukrouh - avatar
0
With ASCII characters. Ex: ###### # # # # ######
8th May 2019, 11:33 AM
Charlie S
Charlie S - avatar