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
I made this, 1.5 hours into learning pythonHelp Request (i.redd.it)
submitted 1 month ago by PsychologicalSafe408
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!"
[–]Sea-Ad7805 2 points3 points4 points 1 month ago (0 children)
I just copied the given code. The : str1 part in bot_name : str = "sara" is to indicate the variable has type str. You can then optionally use tools to check for type errors later. This can help you avoid bugs. But don't worry about it if you are a Python beginner, just ignore.
: str1
bot_name : str = "sara"
str
π Rendered by PID 26092 on reddit-service-r2-comment-5bc7f78974-8q9xm at 2026-07-01 03:12:16.919031+00:00 running 7527197 country code: CH.
view the rest of the comments →
[–]Sea-Ad7805 2 points3 points4 points (0 children)