Q. What is the output of the following code?
Code:
print(type( (1,) ))
β
Correct Answer: (A)
<class 'tuple'>
Explanation: A single element tuple requires a trailing comma.