- Run Idle on your machine
- Practice using the end named argument to
print
>>> print("Line 1", end=" ")
- Practice using the sep named argument to
print
>>> print(1, 2, 3, 4, 5, sep=", ")
- Create some variables
>>> number_1 = 4
>>> number_2 = 5
- Print the values of these numbers using an escape character
>>> print("number_1:\t", number_1)
>>> print("number_2:\t", number_2)
- Print a Windows path using escape characters
>>> print('The path is C:\\temp\\data.')
- Print text with single and double quotes using escape characters
>>> print("He said \"It\'s me!\"")