🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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"?

  1. A.+915876543210
  2. B.None
  3. C.5876543210
  4. 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 →