if (len(reporting) == 0 or len(tempPassword) == 0): secondchoice = True print("\n------------ VALUES CANNOT BE NULL --------------") else: secondchoice = False if (adminLgn.IsUseridUnique(reporting, "RA", lstEmpInfo, lstRAInfo)): reporter = adminLgn.addReportingAuthority(reporting, tempPassword) if (reporter != None): print("\n------------ REPORTING AUTHORITY IS ADDED SUCCESSFULLY --------------") lstRAInfo.append(reporter) # else : # print("\n------------ REPORTING AUTHORITY ADDING UNSUCCESSFULLY --------------") else: print("\n------------ USER ALREADY EXISTED --------------") employee = adminLgn.addNormalEmployee(employeeUserName, employeePassword, reporter.getsUserid()) if (employee != None): print("\n------------ USER IS ADDED SUCCESSFULLY --------------") lstEmpInfo.append(employee) # else: # print("\n------------ USER ADDING UNSUCCESSFULLY --------------") else: print("\n------------ USER ALREADY EXISTED --------------") #Add Reporting Authority elif (sChoice == 2): secondchoice = True while (secondchoice): secondchoice = True employeeUserName = input("\nREPORTING AUTHORITY USERNAME : "******"REPORTING AUTHORITY PASSWORD : ")