MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of the following? x = "abcdef" i = "a" while i in x: x = x[1:] print(i, end = " ") |
| A. | a a a a a a |
| B. | a |
| C. | no output |
| D. | error |
| Answer» C. no output | |