Q. What will be the output produced by following code?
(a)
>>> str(print()) + "One"
(b)
>>> str(print("hello")) + "One"
Match your result after executing above statements. Can you explain why this result came?
Answer =
(a)
'NoneOne'
(b)
hello
'NoneOne'
i couldnt understand 2
ReplyDeletei also
DeletePost a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )