Contact: aviboots(AT)netvision.net.il
41,231 questions
53,733 answers
573 users
nestedlist = [[1, 2, 3], [1, 5], [6, 1, 8, 9, 10], [1, 9, 10, 10], [1]] nestedlist[0].reverse() # first sub_list print(nestedlist) ''' run: [[3, 2, 1], [1, 5], [6, 1, 8, 9, 10], [1, 9, 10, 10], [1]] '''