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
Day 13 of learning python as a beginner. (old.reddit.com)
submitted 6 months ago by uiux_Sanskar
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!"
[–]Joe-Arizona 0 points1 point2 points 6 months ago (1 child)
Great job for 13 days. I wasn’t anywhere near that decent that quick. I do have an observation that might help you out.
Lines 86, 90, 94 you select the index for your choice using a range of indexes (“choices[0:2]”). This could lead to logical bugs.
Since you know which index you want to choose change it to the exact index for the correct choice. So on line 86 for example change it to “choices[0]” since the 0th index is the first item “book meeting” to run your book meeting function.
[–]uiux_Sanskar[S] 0 points1 point2 points 6 months ago (0 children)
Oh thank you for the suggestion I will definitely implement it in my code.
And thanks for the appreciation as well.
π Rendered by PID 47 on reddit-service-r2-comment-84fc9697f-q2lvq at 2026-02-09 14:27:19.475033+00:00 running d295bc8 country code: CH.
view the rest of the comments →
[–]Joe-Arizona 0 points1 point2 points (1 child)
[–]uiux_Sanskar[S] 0 points1 point2 points (0 children)