CBSE Class 12 Computer Science
Question 38 of 120
Review of Python Basics — Question 12
Back to all questions-
Reason — The arithmetic operator "-" (minus) cannot be used with strings in Python. The "+" operator is used for string concatenation, "*" is used for string repetition, but the "-" (minus) operator does not have a defined meaning for strings and will result in an error if used with strings.