MCQOPTIONS
Saved Bookmarks
| 1. |
Is the following piece of code valid? >>> a=(1,2,3,4) >>> del a |
| A. | No because tuple is immutable |
| B. | Yes, first element in the tuple is deleted |
| C. | Yes, the entire tuple is deleted |
| D. | No, invalid syntax for del method |
| Answer» D. No, invalid syntax for del method | |