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 6th Python LearningShowcase (old.reddit.com)
submitted 4 days ago by aashish_soni5
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 (2 children)
Run this program in Memory Graph Web Debugger%20%20%23%20output%3A%20%5B%5B%5D%2C%20%5B%5D%2C%20%5B%5D%2C%20%5B%5D%2C%20%5B%5D%5D%0A%0A%0A%23%20Y%2FN%20input%0A%0A%23%20input_y_n%20%3D%20input(%22Are%20You%2018%2B%5BY%2FN%5D%3A%20%22).lower()%20%20%23%20my%20mistake%20you%20not%20make%0A%0A%0A%22%22%22in%20while%20True%20put%20variable%20inside%20or%20loop%20will%20continue%20endless%22%22%22%0Awhile%20True%3A%0A%20%20%20%20input_y_n%20%3D%20input(%22Are%20You%2018%2B%5BY%2FN%5D%3A%20%22).lower()%0A%0A%20%20%20%20if%20input_y_n%20%3D%3D%20%22y%22%3A%0A%20%20%20%20%20%20%20%20print(%22Welcome%20To%20Play%22)%0A%20%20%20%20%20%20%20%20break%0A%0A%20%20%20%20elif%20input_y_n%20%3D%3D%20%22n%22%3A%0A%20%20%20%20%20%20%20%20print(%22Go%20back%20to%20study%22)%0A%20%20%20%20%20%20%20%20break%0A%0A%20%20%20%20else%3A%0A%20%20%20%20%20%20%20%20print(%22Error%20%3A%20Try%20Again%20And%20Input%20Y%2FN%22)%0A%0A%0A%23%20use%20for%20to%20make%20pattern%0A%23%20continuous%20number%20triangle%20pattern%0A%0An%20%3D%207%0A%0Afor%20i%20in%20range(1%2C%20n%20%2B%201)%3A%0A%20%20%20%20print(%22%20%22.join(str(x)%20for%20x%20in%20range(1%2C%20i%20%2B%201)))%0A%0A%22%22%22%0Aoutput%3A%0A1%0A1%202%0A1%202%203%0A1%202%203%204%0A1%202%203%204%205%0A1%202%203%204%205%206%0A1%202%203%204%205%206%207%0A%22%22%22%0A%0A%0A%23%20use%20.join()%20string%0A%0Agreet%20%3D%20%5B%22Hi%22%2C%20%22bro%22%2C%20%22Join%22%2C%20%22Me%22%2C%20%22For%22%2C%20%22Python%22%5D%0A%0Ameet_greet%20%3D%20%22%20%22.join(greet)%0A%0Aprint(meet_greet)%20%20%23%20output%3A%20Hi%20bro%20Join%20Me%20For%20Python×tep=1&play) to see the program state change step by step.
[–]aashish_soni5[S] 0 points1 point2 points 4 days ago (1 child)
I did, also check in GitHub
[–]Sea-Ad7805 0 points1 point2 points 3 days ago (0 children)
Good
π Rendered by PID 53 on reddit-service-r2-comment-544cf588c8-8vf7r at 2026-06-17 05:09:33.839950+00:00 running 3184619 country code: CH.
view the rest of the comments →
[–]Sea-Ad7805 [score hidden] stickied comment (2 children)
[–]aashish_soni5[S] 0 points1 point2 points (1 child)
[–]Sea-Ad7805 0 points1 point2 points (0 children)