MCQOPTIONS
Saved Bookmarks
| 1. |
a=0b=1if (a and b): print("hi")elif(not(a)): print("hello")elif(b): print("hi world")else: print("hello world")16.Which of the following are in correct order with respect to conditional statements in Python? (i) if (ii) else (iii) elif |
| A. | i, iii, ii |
| B. | ii, iii ,i |
| C. | iii, ii, i |
| D. | ii, i, iii |
| Answer» B. ii, iii ,i | |