31 Title: Please enter the first letter of the week to determine what day of the week, if the first letter of the same, then continue to determine the second letter.
32 Title: an output value in reverse order of the list.
. 1 Li = [ ' One ' , ' TWO ' , ' Three ' ] 2 L = [] . 3 . 4 for I in Range (0,3 ): . 5 "" " POP () Default removes the last element in the list " " " . 6 l.append (li.pop ()) . 7 . 8 Print (L)
1 li = ['one', 'two', 'three'] 2 l=[] 3 4 for item in li: 5 l.insert(0,item) 6 7 print(l)
1 li = ['one', 'two', 'three'] 2 li.reverse() 3 print(li)