📊 Python
Q. What is the output of the following program?
Code:
line = "What will have so will"
L = line.split('a')
for i in L:
print(i, end=' ')
  • (A) [„What?, „will?, „have?, „so?, „will?]
  • (B) Wh t will h ve so will
  • (C) What will have so will
  • (D) [„Wh?, „t will h?, „ve so will?]
💬 Discuss
✅ Correct Answer: (B) Wh t will h ve so will

You must be Logged in to update hint/solution

💬 Discussion


📊 Question Analytics

👁️
273
Total Visits
📽️
4 y ago
Published
🎖️
Ram Sharma
Publisher
📈
86%
Success Rate