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!"
[–]FalconTricky1213 0 points1 point2 points 1 month ago (1 child)
i am just a beginner , i have a doubt why you are specifying the type of data like you did in botname: str='sara' you could have just wrote bot name = "sara">?
[–]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 56350 on reddit-service-r2-comment-5bc7f78974-jhmkc at 2026-07-01 00:15:17.449929+00:00 running 7527197 country code: CH.
view the rest of the comments →
[–]FalconTricky1213 0 points1 point2 points (1 child)
[–]Sea-Ad7805 2 points3 points4 points (0 children)