+ 1

Kaleidoscopes проблема

amount = int(input()) if amount > 1: amount -= amount/10 amount += amount/100*7 print(round(amount*5, 2)) Код не проходит пятую скрытую проверку

11th Aug 2023, 11:23 AM
Георгий Ким
Георгий Ким - avatar
1 Odpowiedź
+ 2
Георгий Ким , I modified your code a Lil...since in calculating there is a mistake...so try to calculate seperately and then print all together...to avoid confusion... And I inserted one more condition... if amount==1 for this also you have to calculate... https://code.sololearn.com/cyK13V499MXc/?ref=app
11th Aug 2023, 12:06 PM
Riya
Riya - avatar