A
A
Anna Ferrier2021-06-18 14:44:15
Python
Anna Ferrier, 2021-06-18 14:44:15

How to fix code error?

@dp.message.handler(commands=[`start`])
^
SyntaxError: expression cannot contain assignment, perhaps you meant "=="?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladislav Lyskov, 2021-06-18
@Anna_Ferrier

quotes are wrong, you need either ' or ", not `

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question