#Created by Ertuğrul Gazi AKÇA at 15.01.2019


#pop method use for remove an item from list but difference from remove method::
#after removing process, return to user removed item

list1 = list()

list1.append("ders1")
list1.append("ders2")


removed = list1.pop(0)

print(removed)