At Westonci.ca, we provide clear, reliable answers to all your questions. Join our vibrant community and get the solutions you need. Get quick and reliable solutions to your questions from a community of experienced professionals on our platform. Our platform offers a seamless experience for finding reliable answers from a network of knowledgeable professionals.
Sagot :
def comp_num (num1, num2, num3):
try:
if num1 > num2 and num1 > num3:
print ( "{0} is the biggest".format(num1) )
elif num2 > num1 and num2 > num3:
print ( "{0} is the biggest".format(num2))
elif num3 > num2 and num3 > num1:
print ( "{0} is the biggest".format(num3))
except ValueError:
return "Invalid input"
num_1 = int (input (" Please enter a number: "))
num_2 = int (input (" Please enter a second number: "))
num_3 = int (input (" Please enter a third number: "))
print (comp_num (num_1, num_2, num_3))
Thanks for stopping by. We strive to provide the best answers for all your questions. See you again soon. We appreciate your time. Please come back anytime for the latest information and answers to your questions. Get the answers you need at Westonci.ca. Stay informed with our latest expert advice.