Module 4 - Section 0 - Repeat, repeat, repeat!
4.0.1 - List methods
Let's review some of the list methods again. Execute the following commands in Thonny CLI one after the other :
>>> fruits = ['orange', 'apple', 'pear', 'banana', 'kiwi', 'apple', 'banana']
>>> fruits.count('apple')
>>> fruits.count('tangerine')
>>> fruits.index('banana')
>>> fruits.index('banana', 4) # Find next banana starting a position 4
>>> fruits.reverse()
>>> fruits
>>> fruits.append('grape')
>>> fruits
>>> fruits.sort()
>>> fruits
>>> fruits.pop()