Answers for "how to convert variable in Python ?"

0

how to convert variable in Python ?

Test = 12 # integer 
Converter = float(Test) # Converter = 12.0
Converter = str(Test) # Converter = "12.0"
Converter = int(Test) # Converter = 12
Posted by: Guest on February-17-2021

Code answers related to "how to convert variable in Python ?"

Python Answers by Framework

Browse Popular Code Answers by Language