MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of the following code? def display(b, n): while n > 0: print(b,end="") n=n-1 display('z',3) |
| A. | zzz |
| B. | zz |
| C. | An exception is executed |
| D. | Infinite loop |
| Answer» B. zz | |