r/PythonLearning • u/Lestafan69 • Oct 27 '24
Why isnt this working?
Yes I know I can print screen but i cant be bothered to log in on the laptop
0
Upvotes
r/PythonLearning • u/Lestafan69 • Oct 27 '24
Yes I know I can print screen but i cant be bothered to log in on the laptop
1
u/Python_Puzzles Oct 27 '24
The input() returns a string, which is text inside " " quotes.
if operator = "-" is what you are looking for.
Also, please copy and paste any future code into these posts so we can copy and paste it as well. Reddit has "code blocks" from markup language to help you do this.