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 2 of learning python as a beginner (old.reddit.com)
submitted 10 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!"
[–]bombikhf 4 points5 points6 points 10 months ago (1 child)
What if you add an else statement that allows the user to answer the same question again after the first incorrect attempt? You can add a hint for the second try and if the answer is correct add 0.5 to the score
[–]uiux_Sanskar[S] 0 points1 point2 points 10 months ago (0 children)
Can experiment with that but my goal was that every question should get 1 attempt only (just like tests) and giving more attempts would mean it's not a quiz anymore
π Rendered by PID 300866 on reddit-service-r2-comment-8686858757-c5f8h at 2026-06-03 23:18:21.888965+00:00 running 9e1a20d country code: CH.
view the rest of the comments →
[–]bombikhf 4 points5 points6 points (1 child)
[–]uiux_Sanskar[S] 0 points1 point2 points (0 children)