Question Detail
Question
What happens when you use the '+' operator with a string and a number in a Python `print()` statement?
Correct Answer
Option C is the correct answer.
Detailed Explanation
Page 34 demonstrates this: 'If you try to combine a string and a number, Python will give you an error:' with an example showing
print (x + y) where x=5 (int) and y='John' (str) would cause an error.
Hint
Review the 'Output Variables' section, specifically the second example on page 34.