Hi - my best advice would be to read the helpful Python docs; try to copy the example code given in your local IDE, and also Google any new concepts/words that you don't understand.
After you read Sections 8.1 to 8.4 of this page, you should find your answer!
This comment is hidden because it contains spoiler information about the solution
Hi - my best advice would be to read the helpful Python docs; try to copy the example code given in your local IDE, and also Google any new concepts/words that you don't understand.
After you read Sections 8.1 to 8.4 of this page, you should find your answer!
https://docs.python.org/3/tutorial/errors.html
This kata uses typing. Most Python katas don't. Look at the documentation of this module if you face another difficulty with this.
The tuple is named
info
.This means that you won't get arrays like these:
Looks good to me.