logo

Crowdly

Browser

Add to Chrome

Assuming a user enters 30, 20, and 10 as the input values, what is the output of...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Assuming a user enters 30, 20, and 10 as the input values, what is the output of the following code snippet?

 

num1 = int(input("Enter a number: "))

num2 = int(input("Enter a number: "))

num3 = int(input("Enter a number: "))

if num1 > num2 :

   if num1 > num3 :

      print(num1)

   else :

      print(num3)

else :

   if num2 > num3 :

      print(num2)

   else :

      print(num3)
More questions like this

Want instant access to all verified answers on elearn.squ.edu.om?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome