+ 11

What is the output?

Nums = (" wow ",[1,2,2,2,4],"yes",1,2,4) If 1+3*4 = 16 print (len(Nums)) elif 1+2+3*4 =13 print Nums.insert(2 , 56) else: print ("no"+"answer"+"!")

9th Jun 2020, 8:58 AM
DLPH 王者 👑
DLPH 王者 👑 - avatar
2 Antworten
+ 7
Answer : no answer! It is because 1+3*4 is not =16 (3*4=12 , 12+1=13 , not 1+3=4 ,4*4=16) 1+2+3*4=13(false)It's because ((1+2)+(3*4) is =15
9th Jun 2020, 9:09 AM
DLPH 王者 👑
DLPH 王者 👑 - avatar
+ 1
click on your profile ,you will see code bits there ,click on "+" sign then choose a language you want to code in ,instead of asking output on a forum meant for serious programming related questions
9th Jun 2020, 9:00 AM
Abhay
Abhay - avatar