#list & tuples

grocery_list = ["onion", "apple", "sugar", "noodles", "eggs", "orange"]


# grocery_list.append("rice")

# grocery_list.pop(1)

# position = [100, 300]
#
# print(position[1])

# print(grocery_list[0:4])


# grocery_list.insert(2, "soap") // insert

# print(grocery_list.index("sugar"))

grocery_list.remove("sugar")

# print(len(grocery_list))

print(grocery_list)
