QUESTION IMAGE
Question
stem
- write a program to print \i love to program\ to the screen 2 times.
- what do we use in order to output multiple lines of text, but only use one print command?
- long - term memory used by the computer
a. main memory
b. output
c. input
d. secondary memory
- ________ are special output characters marked with a \\
a. strings
b. output characters
c. escape characters
d. echo characters
Step1: Answer 7 in Python
print("I love to program
I love to program")
Step2: Answer 8
Use newline character (
) in print.
Step3: Answer 9
d. secondary memory
Step4: Answer 10
c. Escape Characters
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
7: print("I love to program
I love to program")
8: Use newline character (
)
9: d. secondary memory
10: c. Escape Characters