I cant pass the 4th test on this challenge
Hi, my code is failing on the 4th test of the super sale challenge. And I have no idea why, can someone please help me 😊 Your favorite store is having a sale! You pay full price for the most expensive item that you get, but then you get 30% off of everything else in your purchase! How much are you going to save? Sales tax is 7%. Also, you leave anything below a dollar in your saving as a tip to the seller. If your saving is a round amount, you don't leave any tips. Task: Given the prices of items you want to purchase, determine how much you will save during your shopping! Input Format: An string of numbers separated by commas that represent the prices for all of the items that you want to purchase (without tax). My code is: from math import floor as floor i = input().split(",") m = float(max(i)) sum = 0 for x in i: if float(x) == m: continue else: sum += float(x) print(floor((sum * 0.3) * 1.07))