> I'm working on a program that needs to store user info, then can
> retrieve it
In short, your program needs some sort of persistence mechanism. You have a few options:
- Object persistence [search the web for java serialization API]
- File persistence [saving the data in the form of CSVs]
- Database persistence which again comes in two flavors:
--- Serverless databases like SQLite, excellent for standalong apps
--- Server databases like Oracle recommended for n-tier distributed applications.
root = tkinter.Tk()
buttons=[i for i in range(10)]
#If specific button is pressed, output "YES"
for num in buttons: