How do I find a percentage of a variable in python?

# Percentage of a Variable in Python?

**stetim94**#2

let's say i have a a item, which is 15$. Now, that is 100 percent of the price. so 100% of the price is:

`15$ * 1 = 15$`

so if we want to know what 10 percent is, we can simple do:

`15$ * 0.1 = 1.5$`

Does that make sense?