num1 = int(input("Enter a number: ")) num2 = int(input("Enter a number: ")) num3 = int(input("Enter a number: ")) num4 = int(input("Enter a number: ")) num5 = int(input("Enter a number: ")) highest = max(num1, num2, num3) lowest = min(num1, num2, num3, num4, num5) print("The highest value is", highest) print("The lowest number is", lowest)