Commit 4c7c0ff5 by BellCodeEditor

auto save

parent 9b5ccc69
Showing with 18 additions and 0 deletions
list = []
number1 =3
while number1>0:
number2 = number1%2
number1 = number1//2
list.append(number2)
print(number1)
print(list)
\ No newline at end of file
import tkinter
root = tkinter.Tk()
root.geometry('300x350+500+300')
canv = tkinter.Canvas(root,width=240,height=300,bg='lightblue')
canvas = tkinter.Canvas(canv,width=100,height=100,bg='lightgreen')
canv.place(x=30,y=20)
canvas.place(x=0,y=0)
self.bg.img = tkinter.PhotoImage(file.)
root.mainloop()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment