πŸ“Š Python
Q. What will be the output of this code?
Code:
print('5' * 3)
  • (A) '15'
  • (B) '555'
  • (C) '53'
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (B) '555'

Explanation: Multiplying a string by an integer repeats the string.

Explanation by: Mr. Dubey
Multiplying a string by an integer repeats the string.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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