

MCQOPTIONS
Saved Bookmarks
1. |
What will be the output of the followingPython code?1. class tester:2. def __init__(self, id):3. self.id = str(id)4. id="224"5.6. >>>temp = tester(12)7. >>>print(temp.id) |
A. | 224 |
B. | error |
C. | 12 |
D. | none |
Answer» D. none | |