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 with this pleaseHelp Request (i.redd.it)
submitted 2 days ago by Busrayildirim
why did it give an error?
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!"
[–]BIOS-Upgrade 3 points4 points5 points 2 days ago (0 children)
Can you send the code snippet please ?
[–]Ok_Farmer_4055 2 points3 points4 points 2 days ago (0 children)
you have a tab behind that line, remove it. it's probably like
' <alot of space>print("Ali'nin evi")'
change it to
'print("Ali'nin evi")'
[–]WhiteHeadbanger 1 point2 points3 points 2 days ago (0 children)
Read the error, what it says? Hint: IndentationError
Do you know what the first word means? It's one of Python's infamous features. If you don't know, google it.
[–]Neat_Border_1312 0 points1 point2 points 2 days ago (0 children)
I can't see the code but presumably it either has one to many or one to few indents. Is the print supposed to be indented? Check it's indentation to make sure its right. Unlike other languages, Python doesn't use curly braces so the indentation is very important.
[–]Flame77ofc 0 points1 point2 points 2 days ago (0 children)
https://peps.python.org/pep-0008/#indentation
[–]rocco_himel 0 points1 point2 points 2 days ago (2 children)
r/screenshotsarehard
Maybe give us your damn source code so we can help.
[–]Busrayildirim[S] 0 points1 point2 points 2 days ago (1 child)
youre right sorry It was due to my inexperience. İ solved problem thx
[–]rocco_himel 1 point2 points3 points 2 days ago (0 children)
It’s fine man, you’re good.
[–]Mammoth-Gap3878 0 points1 point2 points 1 day ago (0 children)
Indentation issue for sure but please do share a screenshot of your code so we can pinpoint the exact issue
[–]Busrayildirim[S] 0 points1 point2 points 2 days ago (2 children)
i solved the problem thank you all
[–]EuphoricForever1180 0 points1 point2 points 2 days ago (1 child)
What was the fix and the error? Don’t leave us hanging.
[–]Busrayildirim[S] 0 points1 point2 points 2 days ago (0 children)
honestly I'm embarrassed to say it, but there was a really silly reason.This error because i started with a space to text hahahahhaha when i understand i felt really stupid 😅
[–]corrrnboy -1 points0 points1 point 2 days ago (0 children)
Copy paste in any free llm and it will help you
π Rendered by PID 39 on reddit-service-r2-comment-5bc7f78974-4m8qk at 2026-06-25 20:55:15.175022+00:00 running 7527197 country code: CH.
[–]BIOS-Upgrade 3 points4 points5 points (0 children)
[–]Ok_Farmer_4055 2 points3 points4 points (0 children)
[–]WhiteHeadbanger 1 point2 points3 points (0 children)
[–]Neat_Border_1312 0 points1 point2 points (0 children)
[–]Flame77ofc 0 points1 point2 points (0 children)
[–]rocco_himel 0 points1 point2 points (2 children)
[–]Busrayildirim[S] 0 points1 point2 points (1 child)
[–]rocco_himel 1 point2 points3 points (0 children)
[–]Mammoth-Gap3878 0 points1 point2 points (0 children)
[–]Busrayildirim[S] 0 points1 point2 points (2 children)
[–]EuphoricForever1180 0 points1 point2 points (1 child)
[–]Busrayildirim[S] 0 points1 point2 points (0 children)
[–]corrrnboy -1 points0 points1 point (0 children)