# week 3 challenge 

#1, create a list and apply 4 methods
Mylist = ["Mo",18,"Developer","Football"]
Mylist.append("Python") #append method adds an element 
Mylist.insert(1,"Asslahi") #insert method adds an elemnet at the specified element
Mylist.pop() #pop method removes an element 
Mylist.reverse() #reverse method reverses the order of the list

print(Mylist)

#2, write a code that checks if the word
# 'python' is in a tuple

Mytuple = ("Java","Python","Swift")

if "Python" in Mytuple:
    print("Yes, 'Python' is in the tuple")
