# Title: Number Manipulation Program # Author: Hugo hicks # Date: 24/06/25 # Version: 1.0 # Purpose: This program prompts the user to input a whole number. If the number is 10 or less, it displays the number doubled. If it's greater than 10, it displays the number divided by 2. Finally, it informs the user that the program has ended. #ask the user for a whole number number = int(input("Please enter a whole number: ")) #check if the number is smaller or equal to 10 if number <= 10: print(f"Your number has doubled = {number * 2}") else: print(f"Your number divided by 2 = {number / 2}") #display the end message print("The program has ended.")