Q.The syntax for a tuple with a single item is simply the element enclosed in a pair of matching parentheses as shown below :

t = ("a")

Is the above statement true? Why? Why not ?


You can understand by Watching video :-



 
ANSWER =

No, it not true because when we use type function then it will print 'str' type ,it can be corrected by adding comma (,)

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post