Combine all() and any()
Given a list of names, use
all() to check if every name starts with an uppercase letter, and any() to check if any name has more than 5 characters.Premium
Python
Setting up Python environment... Output