It's "New driver's license" program from code coach. I am unable to execute my code completely. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

It's "New driver's license" program from code coach. I am unable to execute my code completely.

The if statement inside the first loop is being skipped. That is where everything in my code depends on. Please tell me if I've done anything wrong. https://code.sololearn.com/cp59JKE51467/?ref=app

21st Jun 2020, 11:32 AM
Prabhanshu Chaturvedi
3 Answers
+ 2
I got it. I was skipping the first name from the string.
23rd Jul 2020, 12:55 PM
Prabhanshu Chaturvedi
+ 4
By the way your code is failed in all 5 test of code coach
22nd Jun 2020, 1:46 AM
vaibhav
vaibhav - avatar
+ 4
It's failing because first if statement is being skipped. That's what I'm asking here.
22nd Jun 2020, 3:56 AM
Prabhanshu Chaturvedi