# Challenge Of The Week3 :)
# The First Challenge:
print("First Q: Applay Any 4 Methods On List.")
print("-------------1-----------------")
nameOfBoys = ["megdam","mohab","Elyas","Assir","mohab"]
print("insert()method :")
nameOfBoys.insert(0,"waleed")
print(nameOfBoys)
print("-------------2-----------------")
print("index()method to item'megdam' :")
print(nameOfBoys.index("megdam"))
print("-------------3-----------------")
print("count()method to item 'mohab':")
print(nameOfBoys.count("mohab"))
print("-------------4-----------------")
print("sort()method :")
nameOfBoys.sort()
print(nameOfBoys)
print("----------------End Q:1-----------------")
#The Second Challenge:
print("Second Q: Write a code to make sure the python element is in tuple= ('java','paython','swift'")
print("-------------------------------")
programmingLanguages = ("java","paython","swift")
if "paython" in programmingLanguages:
    print("Yes, it's in tuple programmingLanguages ")
else:
    print("No, it's not in tuple programmingLanguages")
    print("----------------End Q:2-----------------")
