Run »
fruits = [1, 4, 2, 9, 7, 8, 9, 3, 1] x = fruits.count(9) print(x)
2