Printing Python strings
Questions:
Print four individual strings that fulfill certain conditions:
- Double quotation marks inside the string
- An apostrophe inside the string
- Multiple lines with whitespace preserved
- Coded on multiple lines but gets printed on a single line
Answers:
print('She said "Hello"')
print("I'm good")
print('''Hello
from
Python''')
print("This is \
one-line \
string")