change variable type python

Solutions on MaxInterview for change variable type python by the best coders in the world

showing results for - "change variable type python"
Alexandra
15 Feb 2018
1x = 12
2str(x) #it's a String now 
3
4number = "24"
5int(number) #it's an integer now