avatar Bite 210. Add Type Annotations

Continuing from where we left off in Bite 209, use the docstring you wrote in last Bite to add type annotations to the sum_numbers function.

Note that you will need to import one of the types from the typing module. Again no need to implement the function. It's about typing here. Have fun!

Login and get coding
go back Beginner level
Bitecoin 2X

238 out of 242 users completed this Bite.
Will you be Pythonista #239 to crack this Bite?
Resolution time: ~18 min. (avg. submissions of 5-240 min.)
Pythonistas rate this Bite 2.83 on a 1-10 difficulty scale.
» You can do it! 😌

Focus on this Bite hiding sidebars, turn on Focus Mode.

Ask for Help