CONVERTING TUPLE INTO LIST AND LIST INTO TUPLE
mytuple = ( "i" , "love" , "python" ) list1=list(mytuple) #Write the missing code here print( "Given Tuple:" ,mytuple) print( "After Converting Tuple into List:" ,list1) list1[ 1 ]= "practice" print( "List after changing element:" ,list1) tuple1=tuple(list1) print( "After Converting List into Tuple:" ,tuple1) OUTPUT: Test case 1 Given · Tuple: · ('i', · 'love', · 'python') ⏎ After · Converting · Tuple · into · List: · ['i', · 'love', · 'python'] ⏎ List · after · changing · element: · ['i', · 'practice', · 'python'] ⏎ After · Converting · List · into · Tuple: · ('i', · 'practice', · 'python') ⏎