D
D
Damir Modyarov2016-09-04 17:56:21
Python
Damir Modyarov, 2016-09-04 17:56:21

What does the can't assign to literal error mean in IDLE?

What does the can't assign to literal error mean in IDLE?
cee1a44a7e3446c78ffe39394661c637.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Konstantin Malyarov, 2016-09-04
@otomir23

The left side must be a variable.

a = input()
if a == 'stop'

S
Sergei Nazarenko, 2016-09-04
@nazares

variable cannot start with a digit Can't - can't assign - assign (assign) a literal learn English

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question