Convert string to int and int to string

In python to convert a string to an int or an int to a string you use int() and str()

Convert an int to a string

str(3)
‘3’

Convert a string to an int

int(‘3’)
3