This will do:
while True:
nameQuestion = "Whats ur name?"
print(nameQuestion)
name = input()
ageAuestion = "How old r u?"
print(ageAuestion)
age = input()
print("Your name is: " + name + " " + "age: " + age + "?(yes or no)")
answer = input()
if answer == "Yes":
print("Name: " + name + ", " + "Age: " + age)
break
else:
print("Error")
continue
While Doc
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…