MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/PythonLearning/comments/1uynxy7/my_first_python/oy0v14v/?context=3
r/PythonLearning • u/saul_soprano • 6d ago
kindly give ratings and tips to improve
30 comments sorted by
View all comments
7
Did you run this? input() returns strings, so you’re adding and dividing strings instead of numbers. Also, what’s the ultimate variable for?
1 u/realmauer01 6d ago Overloaded math symbols for the win. -7 u/saul_soprano 6d ago no its hypothetical 13 u/Turbulent-Jackfruit5 6d ago Wym “hypothetical” why not run your code 💀 2 u/TrieMond 6d ago I assume he is talking about the variable being hypothetical, not the code as a whole... 1 u/fizzy_lychee 6d ago Why so many downvoting this?
1
Overloaded math symbols for the win.
-7
no its hypothetical
13 u/Turbulent-Jackfruit5 6d ago Wym “hypothetical” why not run your code 💀 2 u/TrieMond 6d ago I assume he is talking about the variable being hypothetical, not the code as a whole... 1 u/fizzy_lychee 6d ago Why so many downvoting this?
13
Wym “hypothetical” why not run your code 💀
2 u/TrieMond 6d ago I assume he is talking about the variable being hypothetical, not the code as a whole...
2
I assume he is talking about the variable being hypothetical, not the code as a whole...
Why so many downvoting this?
7
u/Ok_Reputation8316 6d ago
Did you run this? input() returns strings, so you’re adding and dividing strings instead of numbers. Also, what’s the ultimate variable for?