Python for AIPython 3.10+ · Pydantic 2.12
0%
1
Curious builder0 XP earned · 300 to level 2
0 daysFinish a lesson to begin
Badge collection0 of 6 unlocked
33 small wins to finish your pathNext lesson

Types and validation quiz

Question 1 of 4

def cost(tokens: int) -> float. What happens on cost("1200")?

Getting one wrong here is cheaper than getting it wrong in your own code.