πŸ“Š Python
Q. Suppose a tuple arr contains 10 elements. How can you set the 5th element of the tuple to 'Hello'?
  • (A) arr[4] = 'Hello'
  • (B) arr(4) = 'Hello'
  • (C) arr[5] = 'Hello'
  • (D) Elements of tuple cannot be changed
πŸ’¬ Discuss
βœ… Correct Answer: (D) Elements of tuple cannot be changed

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
309
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
91%
Success Rate