A program counts the letters, digits and spaces in a line of text, and asks one more question about the whole line.
text = "Room 42, floor 3!"
kinds = [sum(c.isalpha() for c in text), sum(c.isdigit() for c in text),
sum(c.isspace() for c in text)]
print(kinds, text.isalnum())
What does the program print?