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
/
Functions
Which signature makes order_id positional-only and timeout keyword-only?
from Functions
Python 3.14
beginner
2 min
Which signature makes order_id positional-only and timeout keyword-only?
def load(order_id, /, *, timeout=5):
def load(*, order_id, timeout=5):
def load(order_id, timeout=5, /):
def load(order_id, *timeout):
Check
Ask AI about this kata
Report an error
next kata
What two lines does this program print?
Predict the output
A new version is available
Reload