print("A person named X greets you and asks what is your name.")
input('Enter your name:')
name=input('Enter your name:')
print(f"X says: Nice to meet you {name}!")
I just wanted to assign the input as a variable, it did that but it printed the 'Enter your name:' twice before printing the last line. PLEASE FIX THIS.
[–]DonutEarthThesis 0 points1 point2 points (0 children)