Answer:
Hope the below helps!
Step-by-step explanation:
#Program for simple authentication routine
name = input("Enter name: ")
password = input("Enter password (must have at least 8 characters): ")
while len(password) < 8:
print("Make sure your password has at least 8 characters")
password = input("Enter password (must have at least 8 characters): ")
else:
print("Your password has been accepted - successful sign-up")