Challenge 1
Raise one ExceptionGroup containing ValueError("bad age") and TypeError("bad name"), then print how many exceptions it contains.
failures = [ValueError("bad age"), TypeError("bad name")]
try:
except ExceptionGroup as group:
print(len(group.exceptions))
Press Ctrl⌘Enter to check your answer