#list
print("---- STUDENT ----")
students = ["Yusuf","Talha"]
print(students[1])

#append
print("---- APPEND ----")
students.append("Arda")
print(students[2])

#remove
print("---- REMOVE ----")
students.remove("Arda")
print("students[2] WILL BE SHOWING ERROR")
print("---- CITIES ----")
cities = list(("New york","Los Angelas"))
print(cities)

#count
print("---- COUNT ----")
print(cities.count("New york"))
print("index of new york : " ,cities.index("New york"))

#pop like remove
print("---- POP ----")
cities.pop(1)
print(cities)

#insert
print("---- INSERT ----")
cities.insert(1,"Los Angelas")
print(cities[1])

#reverse 
print("---- REVERSE ----")
cities.reverse();
print(cities)

#copy
print("---- COPY ----")
cities2 = cities.copy()
print(cities2)

#extend
print("---- EXTEND ----")
cities.extend(cities2)
print(cities2)

#sort
print("---- SORT ----")
cities.sort()
cities.reverse()
print(cities)

#clear
print("---- CLEAR ----")
print(cities.clear())
print(cities)

#output 
# ---- STUDENT ----
# Talha
# ---- APPEND ----
# Arda
# ---- REMOVE ----
# students[2] WILL BE SHOWING ERROR
# ---- CITIES ----
# ['New york', 'Los Angelas']
# ---- COUNT ----
# 1
# index of new york :  0
# ---- POP ----
# ['New york']
# ---- INSERT ----
# Los Angelas
# ---- REVERSE ----
# ['Los Angelas', 'New york']
# ---- COPY ----
# ['Los Angelas', 'New york']
# ---- EXTEND ----
# ['Los Angelas', 'New york']
# ---- SORT ----
# ['New york', 'New york', 'Los Angelas', 'Los Angelas']
# ---- CLEAR ----
# None
# []
ee3359a88c1507a02795479ee0afadd781c7d054
<mask token>

print('---- STUDENT ----')
<mask token>
print(students[1])
print('---- APPEND ----')
students.append('Arda')
print(students[2])
print('---- REMOVE ----')
students.remove('Arda')
print('students[2] WILL BE SHOWING ERROR')
print('---- CITIES ----')
<mask token>
print(cities)
print('---- COUNT ----')
print(cities.count('New york'))
print('index of new york : ', cities.index('New york'))
print('---- POP ----')
cities.pop(1)
print(cities)
print('---- INSERT ----')
cities.insert(1, 'Los Angelas')
print(cities[1])
print('---- REVERSE ----')
cities.reverse()
print(cities)
print('---- COPY ----')
<mask token>
print(cities2)
print('---- EXTEND ----')
cities.extend(cities2)
print(cities2)
print('---- SORT ----')
cities.sort()
cities.reverse()
print(cities)
print('---- CLEAR ----')
print(cities.clear())
print(cities)

print('---- STUDENT ----')
students = ['Yusuf', 'Talha']
print(students[1])
print('---- APPEND ----')
students.append('Arda')
print(students[2])
print('---- REMOVE ----')
students.remove('Arda')
print('students[2] WILL BE SHOWING ERROR')
print('---- CITIES ----')
cities = list(('New york', 'Los Angelas'))
print(cities)
print('---- COUNT ----')
print(cities.count('New york'))
print('index of new york : ', cities.index('New york'))
print('---- POP ----')
cities.pop(1)
print(cities)
print('---- INSERT ----')
cities.insert(1, 'Los Angelas')
print(cities[1])
print('---- REVERSE ----')
cities.reverse()
print(cities)
print('---- COPY ----')
cities2 = cities.copy()
print(cities2)
print('---- EXTEND ----')
cities.extend(cities2)
print(cities2)
print('---- SORT ----')
cities.sort()
cities.reverse()
print(cities)
print('---- CLEAR ----')
print(cities.clear())
print(cities)

#list
print("---- STUDENT ----")
students = ["Yusuf","Talha"]
print(students[1])

#append
print("---- APPEND ----")
students.append("Arda")
print(students[2])

#remove
print("---- REMOVE ----")
students.remove("Arda")
print("students[2] WILL BE SHOWING ERROR")
print("---- CITIES ----")
cities = list(("New york","Los Angelas"))
print(cities)

#count
print("---- COUNT ----")
print(cities.count("New york"))
print("index of new york : " ,cities.index("New york"))

#pop like remove
print("---- POP ----")
cities.pop(1)
print(cities)

#insert
print("---- INSERT ----")
cities.insert(1,"Los Angelas")
print(cities[1])

#reverse 
print("---- REVERSE ----")
cities.reverse();
print(cities)

#copy
print("---- COPY ----")
cities2 = cities.copy()
print(cities2)

#extend
print("---- EXTEND ----")
cities.extend(cities2)
print(cities2)

#sort
print("---- SORT ----")
cities.sort()
cities.reverse()
print(cities)

#clear
print("---- CLEAR ----")
print(cities.clear())
print(cities)

#output 
# ---- STUDENT ----
# Talha
# ---- APPEND ----
# Arda
# ---- REMOVE ----
# students[2] WILL BE SHOWING ERROR
# ---- CITIES ----
# ['New york', 'Los Angelas']
# ---- COUNT ----
# 1
# index of new york :  0
# ---- POP ----
# ['New york']
# ---- INSERT ----
# Los Angelas
# ---- REVERSE ----
# ['Los Angelas', 'New york']
# ---- COPY ----
# ['Los Angelas', 'New york']
# ---- EXTEND ----
# ['Los Angelas', 'New york']
# ---- SORT ----
# ['New york', 'New york', 'Los Angelas', 'Los Angelas']
# ---- CLEAR ----
# None
# []