πŸ“Š Python
Q. What is the output of this code?
Code:
print('a' * 4)
  • (A) aaaa
  • (B) a4
  • (C) aaaaa
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (A) aaaa

Explanation: Multiplying a string by a number repeats the string.

Explanation by: Mr. Dubey
Multiplying a string by a number repeats the string.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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