reportingAuthority = ReportingAuthority() rachoice = True ralogin = True raUserName = '' raPassword = '' while(ralogin): if(len(lstRAInfo) == 0): print("\nRA USER LIST IS EMPTY.\nCONTACT ADMINISTRATOR TO CREATE NEW REPORTING AUTHORITY USER.\n") rachoice = False break raUserName = input("\nREPORTING AUTHORITY USERNAME : "******"REPORTING AUTHORITY PASSWORD : "******"\n------------ VALUES CANNOT BE NULL --------------") reportingAuthority = login.RALogin(raUserName, raPassword, lstRAInfo) if (reportingAuthority == None): ralogin = True print("\n------------ INVALID CREDENTIALS --------------") else: ralogin = False while(rachoice): print("\n------------------------------------------------------") print("\t\tREPORTING AUTHORITY") print("------------------------------------------------------") print("\n1. SHOW REPORT") print("2. ACCEPT / REJECT LEAVE") print("3. LOGOUT\n") print("OPT FOR : ") sChoice = int(input()) # Show Report of the Employees working under RA case