# Lists - lists are "mutable"

friends = ['Amila','Samith','Daniel']

# Add new friend to the list.
friends.append("Zusan")
print(friends)

# Count number of times an element appears
count = friends.count("Amila")
print(count)

# Number of elements in the list.
ln = len(friends)
print(ln)

fe9dc8c887b05a87d851743e42fd77ce975fb5e1
<mask token>

<mask token>
friends.append('Zusan')
print(friends)
<mask token>
print(count)
<mask token>
print(ln)

friends = ['Amila', 'Samith', 'Daniel']
friends.append('Zusan')
print(friends)
count = friends.count('Amila')
print(count)
ln = len(friends)
print(ln)

# Lists - lists are "mutable"

friends = ['Amila','Samith','Daniel']

# Add new friend to the list.
friends.append("Zusan")
print(friends)

# Count number of times an element appears
count = friends.count("Amila")
print(count)

# Number of elements in the list.
ln = len(friends)
print(ln)
