Solve the following questions about lists given the following list .Using Python codeMyList = [2,4,6,7,8,10]YourList = []How would you print out the length of MyList?What is the length?What is the index of the last number in the list?Give the line of code that would remove the 7 from my listGive the line of code that would add a number to your listGive the line of code that would change the last number in MyList to the number 12