Question: Python 1.1) What will be the output after the following statements? x = '24' + '16' print(x) 1.2) What will be the output after the
1.1) What will be the output after the following statements? x = '24' + '16' print(x) 1.2) What will be the output after the following statements? x = 15 + 35 print(x) 1.3) What will be the data type of x after the following statement if input entered is 18? x = input('Enter a number: ') 1.4) What will be the data type of y after the following statements if input entered is 50? x = input('Enter a number: ') y = int(x) 1.5) What will be the output after the following statements? x = 15 if x > 15: print(0) elif x == 15 print(1) else: print(2)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
