how to use percentage in python?

[CAVY] Arabian Indian Bezos
Joined 09/02/2020
Posts 4,127
11:59 PM 31/05/2020
like, i got 1400, and i reduced it by %5, how could i make that?


nyquil
Joined 21/05/2020
Posts 10
03:07 AM 02/06/2020
reduce 1400 by 5% can easily be done with math

1400*(.95) = 1330

so you can do that in python with multiplication


[CAVY] Arabian Indian Bezos
Joined 09/02/2020
Posts 4,127
01:52 PM 02/06/2020
Quote from nyquil , 03:07 AM 02/06/2020
reduce 1400 by 5% can easily be done with math

1400*(.95) = 1330

so you can do that in python with multiplication
oh thanks

1