def __init__(self): print('Welcome to the Milionaries') quest = input("Do you want to login in (L) or sign up (S)?: ") successful_login = False if quest == "L": while not successful_login: self.username = input("Enter your username: "******"Enter your password: "******"Invalid username or password.") else: print("Welcome to the platform") test = Test(self.username) test.run_test() elif quest == "S": if_account_create = False while not if_account_create: self.username = input("Enter your username: "******"Enter your password: "******"E": ') if register_quest == "E" or register_quest == "e": print('Thank you for using our app') break else: print("You type the order wrong. Restart app and try again")