54648/end-tkinter-program-python
You can use the destroy() to close a tkinter window.
from Tkinter import * toss = Tk() Button(toss, text="Exit", command=root.destroy).pack() toss.mainloop()
Use the quit() function. This function can ...READ MORE
you can also do the old fashioned ...READ MORE
Tkininter comes with the columnspan argument to span the labels ...READ MORE
I should start by stating that using ...READ MORE
You can also use the random library's ...READ MORE
Syntax : list. count(value) Code: colors = ['red', 'green', ...READ MORE
Enumerate() method adds a counter to an ...READ MORE
You can simply the built-in function in ...READ MORE
there is sum() function as a built ...READ MORE
If you want to use the same ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.