Python Strings: Python Language Strings MCQs

Python Strings. Part 2 of Multiple Choice Questions in Python related to Strings. Python Strings   What will be the output of the following Python code ?? class tester: def __init__(self, id): self.id = str(id) id=”224″ >>>temp = tester(12) >>>print(temp.id) a) 224 b) Error c) 12 d) None   What is the output of the …

Python Strings: Python Language Strings MCQs Read More »