?
What will be the output of the following Python code?
What will be the output of the following Python code?
s=["pune", "mumbai", "delhi"]
[(w.upper(), len(w)) for w in s]
s=["pune", "mumbai", "delhi"]
[(w.upper(), len(w)) for w in s]
Join the Discussion
Login to post a comment or share your explanation.
Login