+ 3
What is wrong in this code coach problem(kaleidoscope)?
n=int(input()) def tax(p): cs=(7/100)*p cost=cs+p print(cost) return if(n==1): tax(5) else: l=n*5 dis=(10/100)*l dis=l-dis tax(dis)
3 ответов
+ 2
Ohh,,,I forgot to delete,,,actually I was trying different math function in it,,but all gave me fail cases,,in this code only 2test case got failed.
+ 2
But it don't effect the working of the code..
0
But why did you import math if it has no use in the code