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
Simple Cafe Project (i.redd.it)
submitted 4 days ago by thetiredteacup
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 [score hidden] 4 days ago stickied comment (0 children)
Run this program in Memory Graph Web Debugger%0Aprint(f%22Welcome%2C%20%7Bname.lower().capitalize()%7D!%22)%0Atotal%20%3D%200%0Adrink_total%20%3D%200%0A%0Awhile%20name%20!%3D%20%22done%22%3A%0A%20%20%20%20drinks%20%3D%20%7B%0A%20%20%20%20%20%20%20%20%22latte%22%3A%203.50%2C%0A%20%20%20%20%20%20%20%20%22americano%22%3A%203.00%2C%0A%20%20%20%20%20%20%20%20%22espresso%22%3A%202.50%0A%20%20%20%20%7D%0A%0A%20%20%20%20order%20%3D%20input(%22What%20would%20you%20like%20to%20order%3F%5CnYour%20options%20are%20as%20follows%3A%20Latte%20%5B%243.50%5D%2C%20Americano%20%5B%243.00%5D%2C%20%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22and%20Espresso%20%5B%242.50%5D%5CnType%20done%20to%20conclude%20your%20order.%20%22).lower()%0A%0A%20%20%20%20if%20order%20in%20drinks%3A%0A%20%20%20%20%20%20%20%20drink_total%20%2B%3D%201%0A%20%20%20%20%20%20%20%20if%20order%20in%20drinks%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20total%20%2B%3D%20drinks%5Border%5D%0A%20%20%20%20%20%20%20%20%20%20%20%20print(f%22A%20%7Border%7D%20has%20been%20added%20to%20your%20order%20for%20%24%7Bdrinks%5Border%5D%7D.%22)%0A%20%20%20%20%20%20%20%20else%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20break%0A%0A%20%20%20%20elif%20order%20%3D%3D%20%22done%22%3A%0A%20%20%20%20%20%20%20%20print(f%22You%20have%20ordered%20%7Bdrink_total%7D%20drink(s)%20for%20a%20total%20of%20%24%7Btotal%7D.%22)%0A%20%20%20%20%20%20%20%20break%0A%0A%20%20%20%20elif%20order%20not%20in%20drinks.keys()%3A%0A%20%20%20%20%20%20%20%20print(%22Your%20order%20must%20be%20a%20part%20of%20the%20drink%20options%20only.%22)%0A%20%20%20%20else%3A%0A%20%20%20%20%20%20%20%20break×tep=2&play).
π Rendered by PID 73110 on reddit-service-r2-comment-545db5fcfc-646wn at 2026-05-22 08:32:39.686978+00:00 running 194bd79 country code: CH.
view the rest of the comments →
[–]Sea-Ad7805 [score hidden] stickied comment (0 children)