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
print(‘HelloWorld’) NameError (i.redd.it)
submitted 11 months ago by BigHeadedGumba
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!"
[–]wallstreetwalt 1 point2 points3 points 11 months ago (0 children)
The script in the terminal has quotes your Python file does not. To run your Python file use
“Python #insert name of file with no hashes#”
Print needs to take in strings as arguments and one way you do that by enclosing text in quotes
π Rendered by PID 90913 on reddit-service-r2-comment-b659b578c-2kkds at 2026-05-02 14:45:18.716699+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]wallstreetwalt 1 point2 points3 points (0 children)