📊 Python
Q. What is the output of the following code?
Code:
>>>a=("Hello")*3
>>>a
  • (A) (‘Hello’,’Hello’,’Hello’)
  • (B) The operator * not valid for tuples
  • (C) (‘HelloHelloHello’)
  • (D) Syntax error
💬 Discuss
✅ Correct Answer: (C) (‘HelloHelloHello’)

You must be Logged in to update hint/solution

💬 Discussion


📊 Question Analytics

👁️
189
Total Visits
📽️
3 y ago
Published
🎖️
Rajeev Malhotra
Publisher
📈
96%
Success Rate