MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of the following? print('abcd'.partition('cd')) |
| A. | (‘ab’, ‘cd’, ”) |
| B. | (‘ab’, ‘cd’) |
| C. | error |
| D. | none of the mentioned |
| Answer» B. (‘ab’, ‘cd’) | |