Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
Python
/
Python
What happens by default when a function annotated def total(count: int) is called with "3…
from Python
beginner
1 min
What happens by default when a function annotated def total(count: int) is called with "3"?
Python binds the string normally; the annotation alone performs no runtime check
Python converts the string to int before entering the function
The call always raises TypeError at the annotated boundary
Check
Ask AI about this kata
Report an error
previous kata
Which statement about concurrent.futures is correct?
Quiz
next kata
Name the threading primitive commonly used to make a multi-step shared-state update mutua…
Fill in
A new version is available
Reload