cara menghitung elemen tertentu dalam daftar python
num = [1, 2, 3, 4, 3, 2, 1, 3]
three_count = num.count(3)
print(three_count)
#output = 3
Excited Earthworm
num = [1, 2, 3, 4, 3, 2, 1, 3]
three_count = num.count(3)
print(three_count)
#output = 3