Answers for "How to convert numerical data type to string"

0

How to convert numerical data type to string

x = 
  str(3)    # x will be '3'
y = int(3)    # y 
  will be 3
z = float(3)  # z will be 3.0
Posted by: Guest on August-01-2021

Code answers related to "How to convert numerical data type to string"

Browse Popular Code Answers by Language