here is the problem

~/ $ python hello.py
Traceback (most recent call last):
  File "/home/ubuntu/hello.py", line 1, in <module>
    answer = Get_string("what is your name")
NameError: name 'Get_string' is not defined
~/ $ 

anyone is free to give a solution


Since the error comes on line 1, the cs50 library has not been imported, as with from cs50 import get_string

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .