Insert topic not working


It showing error i wrote same program which I learn in video

You have to add square bracket not bracket because list is made using square bracket your list not a list is tuple therefore your insert is not working

1 Like

Tuples are immutable first you have to covert tuples into list then use insert then covert list to tuple again if you use list then put [ ] not ( )
List =[ ]
tuple = ( )