repl.it
@Hamrico/

First-practice

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# integers
age = input ("What is the price of you car? ")
age = int(age)
div = input("what is your APR? ")
div = float(div)
total_percent = ((div / 100) * age) 
years = input("how many yeasr do you want to pay your car? ")
years = int(years)
you_will = (total_percent * years) + age
monthly = you_will / 60
total = "you monthly payment isinstance{}"
print(monthly)