Python Quiz
3 questions · no time limit
0:00
Finish quiz
FUNCTIONS AND PROGRAM STRUCTURE
Question 1
of 3
Flag for review
No time limit
Current
Answered
Flagged
Not seen
Which function header causes a SyntaxError?
A
def f(x: int = 5):
B
def f(x: int) -> str:
C
def f(x=5: int):
D
def f(x, y: str = "a"):
YOUR PROGRESS
3
QUESTIONS
Ready when you are
Answer in any order. Your progress shows here as you go.
QUESTIONS
1
2
3
KEYBOARD
Pick an answer
A
B
C
D
Next question
↵
→
Previous
←
Flag for review
F