# Ask the user to input two numbers num1 = float(input("Enter the first number: ")) num2 = float(input("Enter the second number: ")) # Calculate the average answer = (num1 + num2) / 2 # Check if the average is less than 100 if answer < 100: print("The average is", answer) # Print "Goodbye" at the end print("Goodbye")