Calling user input
So i have just coded the program below and I would like the user to input their password again using the password that they have inputed, how should I code? def password_check(passwd): if len(passwd) != 8: print('Length should be 8 words') return False if passwd.isalpha() == False: print('Password must not contain any numbers') if not any(char.isupper() for char in passwd): print('Password should have at least one uppercase letter') return False if not any(char.islower() for char in passwd): print('Password should have at least one lowercase letter') return False else: print("Valid Password") return True check = False while not check: check = password_check(input("Enter your password: "))