0
What is lacking in my new drivers license code?
New drivers license
8 Respostas
+ 3
Where's the code??
Please ask question properly, this question is incomplete!
+ 2
Not working Rithea
+ 1
hope it work
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)
0
Here's my code