Mega Code Archive

 
Categories / Python / Buildin Function
 

Use int()

rent = int(raw_input("The rent is: ")) print rent + 5