I'm writing a simple math program, and it's my first UI based app. I'm trying to get entry and turn it into a number:
s2E=tk.Entry()
s3E=tk.Entry()
s1Str=str(s1E)
s2Str=str(s2E)
s3Str=str(s3E)
s1=int(s1Str)
s2=int(s2Str)
s3=int(s3Str)
However, it returns an error:
File "C:\Users\Owner\Desktop\Programming\PythonPrograms\UItest.py", line 19, in <module> s1=int(s1Str)
ValueError: invalid literal for int() with base 10: '.!entry'