Help


#1

Help python in part tip calculator operation'm stuck with 21/100 in the exercise tells me I should give me 0 0.21 but I did the operation on a calculator on the computer and gave me 0.21 I do ??


#4

It resulted in zero because you didn't write the decimal part of your number. Thus, it will be rounded to the closest integer number that is small than it. For example, if you write 21/100, the result is going to be 0 because it is the integer number which is closer to 0.21. So, you must use your number with a decimal part (like 21.0) in order to tell the computer that the decimal part of your number is important