Python for AIPython 3.12 · Pydantic 2.12
Dashboard
0%

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.