March 2020
Beginner to intermediate
352 pages
8h 40m
English
We can create strings in Python in three different ways:
Have a look at the following example:
String1 = 'Creating a String with single Quotes.'String2 = "Creating a String with double Quotes."String3 = '''Creating a String with triple Quotes.'''print(String1) print(String2) print(String3)
The output of all three print statements is the same. They create a string, as intended.
Read now
Unlock full access