fork download
  1. a = int(input('Enter the amount of available paint: '))
  2. b = int(input('Enter the amount of paint to cover one bottle: '))
  3. c = int(input('Enter the amount of money one bottle costs: '))
  4.  
  5. bottle = a/b
  6. money = bottle*c
  7.  
  8. print(money)
  9.  
Success #stdin #stdout 0.03s 9160KB
stdin
10
2
1
stdout
Enter the amount of available paint: Enter the amount of paint to cover one bottle: Enter the amount of money one bottle costs: 5.0