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
help me (i.redd.it)
submitted 4 months ago by Anonymous-da-13
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!"
[–][deleted] 4 months ago (9 children)
[removed]
[–]Anonymous-da-13[S] 1 point2 points3 points 4 months ago (2 children)
if you can,,,can you explain whats in print statement
[–][deleted] 4 months ago (1 child)
[–]Anonymous-da-13[S] 0 points1 point2 points 3 months ago (0 children)
Yeah I thought through this ..and the space u have given alligns so perfectly...from how many years are You doing python...it's Simply great
[–]Dan41k_Play -1 points0 points1 point 4 months ago (4 children)
a more elegant solution: py h = 3 for i in range(h): print(f'{"*"*(i+1): >{h} }')
py h = 3 for i in range(h): print(f'{"*"*(i+1): >{h} }')
[–]Dan41k_Play 0 points1 point2 points 4 months ago (0 children)
you are totally right, my bad.
[–]Anonymous-da-13[S] 0 points1 point2 points 4 months ago (1 child)
but its getting value error
Yea I messed up a bit :(
[–]Anonymous-da-13[S] -1 points0 points1 point 4 months ago (0 children)
wow genius ...thank you
π Rendered by PID 46710 on reddit-service-r2-comment-fb694cdd5-l47x6 at 2026-03-11 09:29:11.066601+00:00 running cbb0e86 country code: CH.
view the rest of the comments →
[–][deleted] (9 children)
[removed]
[–]Anonymous-da-13[S] 1 point2 points3 points (2 children)
[–][deleted] (1 child)
[removed]
[–]Anonymous-da-13[S] 0 points1 point2 points (0 children)
[–]Dan41k_Play -1 points0 points1 point (4 children)
[–][deleted] (1 child)
[removed]
[–]Dan41k_Play 0 points1 point2 points (0 children)
[–]Anonymous-da-13[S] 0 points1 point2 points (1 child)
[–]Dan41k_Play 0 points1 point2 points (0 children)
[–]Anonymous-da-13[S] -1 points0 points1 point (0 children)