MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of the following code? >>> s={5,6} >>> s*3 |
| A. | Error as unsupported operand type for set data type |
| B. | {5,6,5,6,5,6} |
| C. | {5,6} |
| D. | Error as multiplication creates duplicate elements which isn’t allowed |
| Answer» B. {5,6,5,6,5,6} | |