MCQs > IT & Programming > Python > Otput of the following Python code? num1 = 10 num2 = 14 num3 = 12 if (num1 >= num2) and (num1 >= num3): lg = num1+4 elif (num2 >= num1) and (num2 >= num3): lg = num2+5 else: lg = num3+3 print(lg*3)

Python MCQs

What will be the correct output of the following Python code?

num1 = 10

num2 = 14

num3 = 12

if (num1 >= num2) and (num1 >= num3):

   lg = num1+4

elif (num2 >= num1) and (num2 >= num3):

   lg = num2+5

else:

   lg = num3+3

print(lg*3)


Answer

Correct Answer:

57 

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it