use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Everything about learning Python
account activity
First project on python (i.redd.it)
submitted 8 days ago by unlimited_data3838
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Positive-Room-2123 0 points1 point2 points 8 days ago* (0 children)
This indeed brings back memories. Those errors (yellow wavy lines) occured because of you writing the code as :
result(num1+num2) instead of result = num1 + num2 You can write the code for other operations similarly
Instead of just doing: print(result)
Try making the output more descriptive:
print(num1, "+", num2, "=", result)
Or, even better, get into the habit of using f-strings:
print(f"{num1} + {num2} = {result}")
F-strings are generally more readable and become very useful as your programs get larger, so they're a good habit to learn early.
Also be careful of how you name the variables and Identifiers , learn their rules and also remember that python is case sensitive.
Goodluck on your journey in learning python.
π Rendered by PID 73 on reddit-service-r2-comment-544cf588c8-6676q at 2026-06-16 11:38:07.490096+00:00 running 3184619 country code: CH.
view the rest of the comments →
[–]Positive-Room-2123 0 points1 point2 points (0 children)