What is lacking in my new drivers license code? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is lacking in my new drivers license code?

New drivers license

5th Jun 2020, 9:09 AM
Chester Jeff Ancheta
6 Answers
+ 3
Where's the code?? Please ask question properly, this question is incomplete!
5th Jun 2020, 9:13 AM
Rohit
+ 2
Not working Rithea
5th Jun 2020, 1:16 PM
Chester Jeff Ancheta
4th Dec 2020, 5:19 AM
Tanmay Prakash Powar
Tanmay Prakash Powar - avatar
+ 1
hope it work
4th Dec 2020, 5:20 AM
Tanmay Prakash Powar
Tanmay Prakash Powar - avatar
0
name = input() num=int(input()) names=input() names=names.split(" ") names.append(name) names=sorted(names) time=20 count=1 for per in names: if per == name: break if count==num: count=1 time+=20 print(time)
5th Jun 2020, 9:13 AM
Chester Jeff Ancheta
0
Here's my code
5th Jun 2020, 9:14 AM
Chester Jeff Ancheta