Question Detail
Question
What will be the output of
print("Go!" * 2) in Python?
Correct Answer
Option A is the correct answer.
Detailed Explanation
The
* operator performs repetition. Repeating the string "Go!" two times results in "Go!Go!" (page 7, 11).
Hint
The `*` operator, when used with a string and an integer, repeats the string.