malcolm.kaulback

Prominent
Jan 18, 2018
1
0
510
Hi, i am writing this code in python for a project and i am getting this errors.
Code:
def early():
print("How was Bernie Taupin Influenced?")
answer = input(">")
if answer == "Mother":
print("Bernie Taupin was born May 22, 1950 as a English lyricist, poet, and singer. Taupin's mother had studied French literature and his maternal grandfather Poppy was a classics teacher and graduate of the University of Cambridge.")
print("They taught him an appreciation for nature and for literature and narrative poetry, both of which influenced his early lyrics.")

early()

Errors:
Traceback (most recent call last):
File "Guy.py", line 9, in <module>
early()
File "Guy.py", line 5, in early
answer = input(">")
File "<string>", line 1, in <module>
NameError: name 'Mother' is not defined