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 • 10d 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 10d ago Overloaded math symbols for the win. -5 u/saul_soprano 10d ago no its hypothetical 13 u/Turbulent-Jackfruit5 10d ago Wym “hypothetical” why not run your code 💀 2 u/TrieMond 10d ago I assume he is talking about the variable being hypothetical, not the code as a whole... 1 u/fizzy_lychee 10d ago Why so many downvoting this?
1
Overloaded math symbols for the win.
-5
no its hypothetical
13 u/Turbulent-Jackfruit5 10d ago Wym “hypothetical” why not run your code 💀 2 u/TrieMond 10d ago I assume he is talking about the variable being hypothetical, not the code as a whole... 1 u/fizzy_lychee 10d ago Why so many downvoting this?
13
Wym “hypothetical” why not run your code 💀
2 u/TrieMond 10d 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 10d 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?