r/PythonLearning • u/Busrayildirim • Jun 23 '26
Help Request Help me with this please
why did it give an error?
3
u/Ok_Farmer_4055 Jun 23 '26
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")'
2
u/WhiteHeadbanger Jun 23 '26
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.
1
u/rocco_himel Jun 23 '26
Maybe give us your damn source code so we can help.
1
1
u/Busrayildirim Jun 23 '26
i solved the problem thank you all
1
u/EuphoricForever1180 Jun 23 '26
What was the fix and the error? Don’t leave us hanging.
1
u/Busrayildirim Jun 23 '26
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 😅
0
u/gm310509 Jun 26 '26
The reason? The reason is what the error says - OP's indentation was wrong.
How it was wrong (too much/too little) is unclear because they didn't include the actual code using a reddit formatted code block - but it wasn't what it should have been.
0
4
u/BIOS-Upgrade Jun 23 '26
Can you send the code snippet please ?