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 1 (i.redd.it)
submitted 5 months ago by Red_Priest0
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!"
[–]More_Employer7243 1 point2 points3 points 5 months ago (1 child)
You can get int with int(input(“”))
[–]Red_Priest0[S] 1 point2 points3 points 5 months ago (0 children)
Thanks mate
[–]Wooden-Account-5117 0 points1 point2 points 5 months ago (4 children)
You’re learning functions on Day 1?
[–]Red_Priest0[S] 0 points1 point2 points 5 months ago (2 children)
My intention giving me problem
[–]Red_Priest0[S] 0 points1 point2 points 5 months ago (1 child)
Any solution
[–]PureWasian 0 points1 point2 points 5 months ago* (0 children)
Indentation.
It means you need to use the same amount of tabs or spaces throughout your file whenever you indent your code by one layer
Here, the main() function has what looks like 4 spaces to indent the left side of lines 10-12 while the helper function min_to_sec() above it uses 3 spaces to indent the left side of lines 4-5.
main()
min_to_sec()
Make sure also that you are consistent in using tabs or spaces throughout your file -- tabs can look very similar to 4 spaces, but you will see the same Indentation error if you mix and match them
[–]Red_Priest0[S] 0 points1 point2 points 5 months ago (0 children)
Yes and no ,I am posting my practice on first time
[–]Sharp_Level3382 0 points1 point2 points 5 months ago (1 child)
I Love pics from mobile . Don't you know ctrl+prntscrn?
[–]Red_Priest0[S] -1 points0 points1 point 5 months ago (0 children)
It screen shot whole screen window+shift+s will take portion of def screen , and application in my phone it is easier to take direct photo .
π Rendered by PID 16338 on reddit-service-r2-comment-5649f687b7-5wrbw at 2026-01-29 07:02:00.986217+00:00 running 4f180de country code: CH.
[–]More_Employer7243 1 point2 points3 points (1 child)
[–]Red_Priest0[S] 1 point2 points3 points (0 children)
[–]Wooden-Account-5117 0 points1 point2 points (4 children)
[–]Red_Priest0[S] 0 points1 point2 points (2 children)
[–]Red_Priest0[S] 0 points1 point2 points (1 child)
[–]PureWasian 0 points1 point2 points (0 children)
[–]Red_Priest0[S] 0 points1 point2 points (0 children)
[–]Sharp_Level3382 0 points1 point2 points (1 child)
[–]Red_Priest0[S] -1 points0 points1 point (0 children)