# This program will ask for a display name and display a welcome message from random import randint name = input('What is your name? ') try: number = int(input('What is your phone number? ')) age = int(input('How old are you? ')) except ValueError: print("Please enter valid numbers for phone number and age.") exit() if age > 13: print(f"Good job, {name}! Your phone number is {number} and you are {age} years old.") elif 2 < age <= 13: print(f'You are only {age}? ') elif age <= 2: print(f'You are a liar. {age} year olds cannot type ') # Math Section n1 = int(input('Select your first number to be added together: ')) n2 = int(input('Select your second number to be added together: ')) print(f"{n1} + {n2} = {n1 + n2}") print("Now you try!") n1 = randint(1, 100) n2 = randint(1, 100) ans = int(input(f"{n1} + {n2} = ? ")) if ans == n1 + n2: print('You got it!') else: print(f'Not quite! The answer was {n1 + n2}.')