Q. What is the output of the following program

Code:
print 'cd'.partition('cd')
  • (A) („cdβ€Ÿ)
  • (B) (”)
  • (C) („cdβ€Ÿ, ”, ”)
  • (D) (”, „cdβ€Ÿ, ”)
πŸ’¬ Discuss
βœ… Correct Answer: (D) (”, „cdβ€Ÿ, ”)

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
212
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Shivam
Publisher
πŸ“ˆ
91%
Success Rate