Blog

What is the output of the code below?

list = [“Madrid”, “Seville”]
[(x.upper(), len(x)) for x in list]