PCAP • Practice Test 13
Free PCAP practice test — 15 questions with explanations. Set 13. No signup required.
A developer generates a report where numbers must be right-aligned in a 10-character column using f-strings: f'{value:>10}'. However, some values may be None, causing a TypeError. Which is the most robust way to handle None values without affecting other falsy values like 0?
Choose an answer to begin — your selection is scored in the full session.
15 questions · instant feedback and full explanations after every question.