Answers for "building strings python"

17

how to create string in python

string = "this is string"
#or
string = 'this is also string'
Posted by: Guest on April-15-2020
0

strings in python

#Strings in python are surrounded by either single quotation marks, or double 
#quotation marks. for example if you type
print("python")
print('python')
#thse both are going to give the same answer which is python
python
# so this means that python suppoerts both single quotation marks and 
#double quotation marks
Posted by: Guest on December-21-2021

Python Answers by Framework

Browse Popular Code Answers by Language