← Quiz: Prompting for Code: all 10 questions
Quiz: Prompting for Code · Question 3 of 10
In the demo, what did normaliseindianmobile return for "5876543210"?
In the demo, what did normalise_indian_mobile return for "5876543210"?
- A.+915876543210
- B.None
- C.5876543210
- D.An error
Answer & explanation
Correct answer: None
Indian mobile numbers start with 6–9, so it is rejected; the acceptance test asserted None.
Can you get the rest right without peeking?
Take the timed Quiz: Prompting for Code quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →