?
What will be the output of the following Python code?
What will be the output of the following Python code?
a="hello"
b=list((x.upper(),len(x)) for x in a)
print(b)
a="hello"
b=list((x.upper(),len(x)) for x in a)
print(b)
Join the Discussion
Login to post a comment or share your explanation.
Login