Write a basic program to output the lowest of 3 input numbers. (You may omit error checks on your inputs)

num1 = int(input("Please enter your first number: "))num2 = int(input("Please enter your second number: "))num3 = int(input("Please enter your final number: "))if num1 < num2 and num1 < num3:  print(num1 , " is the lowest number")elif num2 < num3 and num2 < num1:  print(num2 , " is the lowest number")else:  print(num3 , " is the lowest number")

NP

Related Python Mentoring answers

All answers ▸

Demonstrate a recursive solution to calculate the factorial of a number


Create a program that takes in two numbers and returns the highest of the two


Make a program that asks the user for a series of numbers until they either want to output the average or quit the program.


Write a recursive function that takes any integer n and prints the nth Fibonacci number.