Q. What would following statements print ? Given that we have tuple = ('t', 'p', 'I')
(a) print("tuple")
(b) print(tuple(“tuple"))
(c) print (tuple)
ANSWER =
A = 'tuple'
B =Error (Because we have make tuple as a variable but we use it in print statement as a function. )
C = ('t','p','l')
Second will come error
ReplyDeleteYes, you are right.
Deletei love you
ReplyDeletecan you code our relationship as well
ReplyDeletePost a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )