Mega Code Archive
Categories
/
Python Tutorial
/
Buildin Function
How to Create and Assign Strings
aString = 'Hello World!' # using single quotes anotherString = "Python is cool!" # double quotes print aString # print, no quotes! s = str(range(4)) # turn list to string print s