ATM: need help in a solution
wrong answer is displayed on the screen. can’t find the bug in my code

There you go with an AC Solution.

Do click the tick button, to accept the answer!

You have taken input in the wrong order. First input is integer and second is float and your code is
change this line to
It will be accepted.