This software is supposed to be a type of data validation, according to the theory.
name = input("Please enter your name: ")
age = int(input("Please enter your age: "))
if age < 13:
print("Sorry, your data cannot be saved. Please try again when you are 13 or older.")
exit()
while True:
password = input("Please enter a password of 8 or more characters: ")
if len(password) >= 8:
break
else:
print("Password does not meet requirements. Please try again.")
print("Name: ", name)
print("Age: ", age)
print("Password: ", password)
print("Welcome to the program!")
name = input("Please enter your name: ")
age = int(input("Please enter your age: "))
if age < 13:
print("Your data cannot be saved due to age restrictions. Goodbye!")
exit()
else:
password = input("Please enter a password with 8 or more characters: ")
while len(password) < 8:
print("Password must be 8 or more characters. Please try again.")
password = input("Please enter a password with 8 or more characters: ")
print("Your name is " + name + ", your age is " + str(age) + ", and your password is " + password + ".")
print("Thank you for entering your information!")
To learn more about form of data validation refer to:
https://brainly.com/question/29746514
#SPJ4