How do i subtract the percentage of a float in python?
On a calcumoloater i can just do this: 600.23 - 20% and it gives me the answer. How do i do this in python?
>>62066195
yes
edit: thanks kind redditor for the gold!
Haskell is the right tool for this job.
>>62066195
600.23 * 0.8
>>62066260
This. Also, OPs image is actually relevant.
>>62066260
cool thanks.
i bought you a month of reddit gold and a year subscription to gaybearsonline.com
>>62066253
He wanted to subtract a percentage, not calculate his year Fedora maintenance expenses.
>>62066195
600.23*(1-(the percent you want to reduce by divided by 100))
Learn how percentages work, it's helpful to have a basic understanding of math when learning programming.
>>62066494
Whats a math?
>>62066195
>He can't even do basic 3rd grade math
What the absolute fuck
>>62066583
Primordial magic
>>62066583
you have to #include it