Skip to content
← Back to Community
Why does repl.it say "unindent does not match any other indent level"?
Profile icon
Steven_The_GuyT

On line 15, repl.it says "unindent does not match any other indent level". Does anyone know why it says that? It looks like it does match the if statement above it.
https://repl.it/@Steven_The_GuyT/Dice-Gambling

Answered by mat1 [earned 5 cycles]
View Answer
Voters
Profile icon
AdenKyle
Profile icon
AnishVennala
Profile icon
katyadee
Comments
hotnewtop
Profile icon
mat1

In line 15 you have a double space instead of tab.
This file cannot be displayed: https://storage.googleapis.com/replit/images/1557355353866_2bf36c6f4677d336e5237c3664ca8ccc.pn
Please mark my comment as the answer if it helped. Thanks!

Profile icon
Steven_The_GuyT

@mat1 I think I might need help again. I tried calling my function, by doing roll(), but it doesn't work.
https://repl.it/@Steven_The_GuyT/Dice-Gambling

Profile icon
mat1

@Steven_The_GuyT On line 4 you're calling roll() before it's defined. Move it to line 30 instead.

Profile icon
Steven_The_GuyT
Profile icon
jonel17461

that right @mat1

Profile icon
VibeDog621

im also having the same problem can anyone help me https://replit.com/@VibeDog621/VibeBot#main.py