Question Detail
Question
When using the
print statement to combine both text and a variable in Python, which character is primarily used for this purpose?
Correct Answer
Option B is the correct answer.
Detailed Explanation
Page 33 states, "To combine both text and a variable, Python uses the + character: Example x = 'awesome' print ('Python is ' + x)"
Hint
Refer to the examples provided for outputting variables combined with text.