0
[Solved] Ballpark orders challenge doesn’t work...
I have just tried the challenge of ballpark orders, but my code bit doesn’t work out for the 3rd 4th and 5th tests... Plz help! https://code.sololearn.com/cyzZ6o2QZNzF/?ref=app
7 ответов
0
I think you only need to round upto 2 decimal points...
QWKKK Try this
print(f'{"%.2f"}'%round(money *(1+0.07),2))
+ 1
Try the above code
0
Look at input carefully
The input starts with 'Pizza
And 'Pizza !=Pizza
Because of ' at start and end every inputs first and last term becomes undefined and hence to buy coke for it so try this:
list = input()
list = list.replace("'","")
list = list.split(" ")
Instead of list =list().split(" ")
Hope it helped since I am not pro I cannot check it my self .
0
₦ ₳ ₵ Ɇ Ɽ Ø ₦ Thanks a lot but Im afraid it is not working either...
0
Jayakrishna🇮🇳 you are right! thx a lot
0
You're welcome..