Discover the answers you need at Westonci.ca, where experts provide clear and concise information on various topics. Experience the ease of finding accurate answers to your questions from a knowledgeable community of professionals. Get precise and detailed answers to your questions from a knowledgeable community of experts on our Q&A platform.
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))
We hope our answers were helpful. Return anytime for more information and answers to any other questions you may have. We hope you found this helpful. Feel free to come back anytime for more accurate answers and updated information. Westonci.ca is committed to providing accurate answers. Come back soon for more trustworthy information.