Quiz · Comprehensions · lesson 6 of 8
Quiz — any, min and max
What does the program print?
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.