Categories
Assignment in python?
What is the reason?
b = ['5', '6', '7'] с = b.count('5') print(c)
Traceback (most recent call last): File "<input>", line 1, in <module> NameError: name 'c' is not defined
Answer the question
In order to leave comments, you need to log in
с = b.count('5') Your "s" is written in Cyrillic, apparently the layout was not switched.
с = b.count('5')
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question