Skip to content
Quiz · Comprehensions · lesson 6 of 8

Quiz — any, min and max

What does the program print?

Python
words = ["sun", "ox", "planet"]
print(any(len(w) > 5 for w in words), min(words, key=len), max(words))

Subscribe to take the course

The course is free. Sign in with Telegram and subscribe to the channel to open every lesson.

Sign in another way