Middle three digits: Difference between revisions

Content added Content deleted
(New draft task and Python solution.)
 
m (→‎{{header|Python}}: name change)
Line 20: Line 20:
>>> for x in passing + failing:
>>> for x in passing + failing:
try:
try:
answer = m3(x)
answer = missing_three_digits(x)
except AssertionError as error:
except AssertionError as error:
answer = error
answer = error