Answer the question
In order to leave comments, you need to log in
Question from a mega-teapot on Python. What have I done wrong?
According to this guide, https://www.youtube.com/watch?v=LFCq-mNF96c . Wrote this miracle
message - "Привет мир"
print (message)
line 1, in <module>
message - "Привет мир"
NameError: name 'message' is not defined
Answer the question
In order to leave comments, you need to log in
Hello!
You didn't see it that way.
You need not a hyphen, but =.
message = "Привет мир"
print(message)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question