How to Create and Assign Strings : Str : Buildin Function PYTHON TUTORIALS


PYTHON TUTORIALS » Buildin Function » Str »

 

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



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo Buildin Function
» Str