Hi everyone, I am new to python and programming in general and I could use some help on converting an integer to a decimal (e.g. 80% to .8). Here is what I have so far but as I'm sure you can tell, it doesn't work:
elif menu_choice == 2:
print 'You chose to calculate Short Term Disability\n'
print 'Enter the annual salary: $'
annual_salary = input('Annual Salary: $')
print 'Enter the coverage percent: '
coverage_percent = input('Coverage Percent: %')
print 'The amount is: $',annual_salary*(coverage_percent/100)
print_menu()
The program calculates coverage amounts for various employee benefits like LTD, STD, Life Insurance. In order to calculate STD I need to convert the percent amount to a decimal. Any ideas on what I can do here?