I dont know why the first line [FIRSTNAME] is a syntax error when I run the program. Screenshot link below code.
#Password Checker
import random
FIRSTNAME = input("Please enter your first name.\n")
SURNAME = input("Please enter your second name.\n")
RANUM = random.randint(10,99)
USERNAME = FIRSTNAME[0] + SURNAME[0:4] + str(RANUM)
print ("Your user name is", USERNAME)
PASSWORD = input("Please enter a Password.\n")
USERNAMECHECK = input("Please re-enter the username to log on.\n")
if USERNAME.lower() != USERNAMECHECK.lower():
USERNAMECHECK = input("Please re-enter the username, it is incorrect:\n")
PASSWORDCHECK = input("Please re-enter the password to log on.\n")
if PASSWORD.lower() != PASSWORDCHECK.lower():
PASSWORDCHECK = input("Please re-enter the password, it is incorrect:\n")
Screenshots = Print-screen
