What is the expected output of the following code?

What is the expected output of the following code?

print(3 * ‘abc’ + ‘xyz’)
A . 3abcxyz
B . abcabcxyzxyz
C . abcabcabcxyz
D . abcxyzabcxyzabcxyz

Answer: C

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments