+ 1

I really dont get this

i try to multiply a string print("spam" * 3) File "..\Playground\", line 1 print("spam" * 3) ^ IndentationError: unexpected indent

19th Jul 2017, 5:10 PM
jakob8888
jakob8888 - avatar
2 Réponses
+ 3
Unexpected indent is with only Python. It means that your code is tabbed in improperly.
19th Jul 2017, 5:23 PM
Keto Z
Keto Z - avatar
+ 1
if you have an unexpected indent, there is a space before your line. By my count you have 2 spaces before your print function print() is good print() <- unexpected indent
19th Jul 2017, 5:23 PM
LordHill
LordHill - avatar