Mega Code Archive
Categories
/
Python
/
String
Convert string
print int("42"), str(42) # convert from/to string print int("42") + 1 # force addition