I'm trying to write a program for a small school project. It involves a use inputing two numbers one representing kills and one deaths.
The user inputs the numbers than the program should divide the kills by the number of deaths and put out the number. My problem is that the program isn't puting out decimal places. So 5/10 would just be 0 instead of 0.5. Here is the program
kills=int(raw_input("Please input the amount of kills: ")) deaths=int(raw_input("Please input the amount of deaths: ")) kills = int(kills) deaths = int(deaths) import math print "You're K/D is", kills/deaths