Convert String to integer (int) : Int : Data Type PYTHON examples


PYTHON examples » Data Type » Int »

 

Convert String to integer (int)


 

car = "123"
car = int(car)

rent = int("12")

total = car + rent

print "nGrand Total: ", total

   
  



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON examples

 Navioo Data Type
» Int