# TiTle: first prgram # Author: Leo carter # Date: 29 oct # Version: 1 # Purpose: use variables to collect data and display it name = input("what is your name? ") print(f'greetings {name}') age = int(input("How old are you? ")) if age >= 18: print("Congratulations! You are old enough to vote.") else: print("You are not old enough to vote.") age = int(input("Enter your age: ")) if age < 18: print("You can vote and drive a car") elif 18 <= age <= 25: print("You can vote and fly a plane") print("The program has ended.")