I'm new to python. I tried different ways to add values to my code. In this code, I have 2 problem.
- I need to use the input numbers (e.g 0400 or 0352) to add to the dictionary
- convert the input numbers to time (e.g 4:00 or 3:52).
employee1_data = {}; def login_time_admin_a(): while True: print(""" ============================== | PLEASE ENTER YOUR INFO | ============================== """) time=input("ENTER TIME: ") if time.isalpha(): print(""" ====================== | INCORRECT INPUT | ====================== """) continue date = input("ENTER DATE: ") if date.isalpha(): print(""" ====================== | INCORRECT INPUT | ====================== """) continue else: print(""" ============================ | THANK YOU FOR LOGGING IN | ============================ """) employee1_data[time] = time() employee1_data[date] = date()