+ 1
Super sale code coach
https://sololearn.com/coach/58/?ref=app I don’t know why test case 4 is showing it wrong. I checked it many times. My code: a=input() a=a.split(",") a=[int(i) for i in a] a.remove(max(a)) sum=0 for i in a: sum+=i res=sum*3/10 tax=res*7/100 res+=tax print(round(res*10//10))
2 odpowiedzi
+ 8
chess doctor ,
2 issues has to be fixed:
> a=[lnt(i) for i in a] # has to be converted to float not int. otherwise we will lose the digital places.
> print(int(res)) # the output has to be an integer number (see task description)
+ 5
That link is only to the code coach. Can you copy your code into a new one in the code playground and attach it here?