PCEP Functions, Tuples, Dictionaries and Exceptions • 50 Questions
50 PCEP Functions, Tuples, Dictionaries and Exceptions practice questions with answers and explanations. Free, no signup.
A server logs are stored as a list of tuples: `logs = [('2024-01-10', 'INFO', 'Started'), ('2024-01-10', 'ERROR', 'Disk full')]`. A developer wants to count how many ERROR logs exist. Which code snippet correctly counts them?
Choose an answer to begin — your selection is scored in the full session.
50 questions · instant feedback and full explanations after every question.