Answers for "python define to string"

9

to string python

x = 2.718
strX = str(x)
Posted by: Guest on July-02-2020
2

define a string in python

string1 = "something"
string2 = 'something else'
string3 = """
something
super
long
"""
Posted by: Guest on December-04-2020

Python Answers by Framework

Browse Popular Code Answers by Language