πŸ“Š Python
Q. What will `print('abc' * 2)` output?
  • (A) abcabc
  • (B) abc*2
  • (C) 2abc
  • (D) abcabcabc
πŸ’¬ Discuss
βœ… Correct Answer: (A) abcabc

Explanation: The `*` operator repeats the string specified number of times.

Explanation by: Mr. Dubey
The `*` operator repeats the string specified number of times.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
61
Total Visits
πŸ“½οΈ
10 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
89%
Success Rate