Z
Z
Zaz02021-01-12 15:52:19
Python
Zaz0, 2021-01-12 15:52:19

I can’t make the bot respond to messages that are not in the code, what should I do?

File "C:\Users\simok\main.py", line 22
sender(id, 'I didn't quite understand you')
^
IndentationError: unindent does not match any outer indentation level
throws an indentation error, what should I do?5ffd9b3d9ef60040636977.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Cheremisin, 2021-01-13
@leahch

Indentation in python is the main problem for beginners! https://pythonworld.ru/osnovy/sintaksis-yazyka-pyt...
And yes, tab and space are not equivalent!!!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question