Write a Python program to modify the second item (33) of a list inside a following tuple to 333


Topic: Write a Python program to modify the second item (33) of a list inside a following tuple to 333

Solution

tuple1 = (11, [22, 33], 44, 55)
tuple1[1][1] = 333
print(tuple1)



List all Python Programs