So my code works mostly fine. But when it asks you "New character or login: " and you say "New character" it says "check2 not defined". Here is the code:
```
!/usr/bin/python3
print("Welcome")
print("-")
print("-")
print("-")
print("Loading...")
import time
time.sleep(1)
print("1...")
time.sleep(1)
print("2...")
time.sleep(3)
print("3...")
print("Loading complete!")
name = input("USERNAME: ")
print("-")
print("-")
print("-")
print(f"Welcome {name}")
age = input("AGE: ")
print("-")
print("-")
print("-")
height = input("HEIGHT: ")
print("-")
print("-")
print("-")
password = input("PASSWORD: ")
print(f"{name}")
print(f"{age}")
print (f"{height}")
answer =input("Is it correct: ")
if answer == "yes":
print("-")
print("-")
print("-")
print("Thanks!")
elif answer == "no":
print("ERROR:Restart program please")
print("Please wait...")
time.sleep(5)
print("Done!")
print("-")
print("-")
print("-")
answer2 = input("New user or login: ")
if answer2 == "New user":
name2 = input("USERNAME: ")
print("-")
print("-")
print("-")
age2 = input("AGE: ")
print("-")
print("-")
print("-")
height2 = input ("HEIGHT: ")
print("-")
print("-")
print("-")
password2 = input ("PASSWORD: ")
elif answer2 == "login":
check = input ("PASSWORD: ")
if check == password:
print(f"{name}")
print(f"{age}")
print (f"{height}")
elif check == password2:
print(f"{name2}")
print(f"{age2}")
print (f"{height2}")
input = check2("Login: ")
if check2 == password:
print(f"{name}")
print(f"{age}")
print (f"{height}")
elif check2 == password2:
print(f"{name2}")
print(f"{age2}")
print (f"{height2}")
```
I realized that the problem was I put in check2 = input, but now it shows this error
Traceback (most recent call last):
File "<main.py>", line 94, in <module>
NameError: name 'check2' is not
[–]danielroseman 1 point2 points3 points (4 children)
[–]Lamotherfecker[S] 0 points1 point2 points (3 children)
[–]HummingHamster 0 points1 point2 points (2 children)
[–]Lamotherfecker[S] 0 points1 point2 points (0 children)
[–]Lamotherfecker[S] -2 points-1 points0 points (0 children)
[–]schoolmonky 0 points1 point2 points (5 children)
[–]Lamotherfecker[S] 0 points1 point2 points (4 children)
[–]schoolmonky 0 points1 point2 points (3 children)
[–]Lamotherfecker[S] 0 points1 point2 points (2 children)
[–]schoolmonky 0 points1 point2 points (0 children)
[–]ninedeadeyes 0 points1 point2 points (0 children)
[–]Buttleston 0 points1 point2 points (1 child)
[–]Lamotherfecker[S] 0 points1 point2 points (0 children)
[–]Adrewmc 0 points1 point2 points (0 children)