PCEP Functions, Tuples, Dictionaries and Exceptions • Set 1
PCEP Functions, Tuples, Dictionaries and Exceptions Practice Test 1 — 15 questions with 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.
15 questions · instant feedback and full explanations after every question.