Answered You can hire a professional tutor to get the answer.
This is Python Programming Q1a. 20 points functions: Ask the user to enter a number n. function to the sum the following series up to n terms 25 +...
This is Python Programming
Q1a. 20 points functions:
Ask the user to enter a number n. function to the sum the following series up to n terms
25 + 100 + 225 + 400 .... (squares of multiples of 5)
Note: Your code must use a function which takes n as input and produces the sum as output. Just outputting the result will get you half points.
Sample Output 1:
Please enter n: 2
125
Sample Output 2:
Please enter n: 3
350
Q1b. 20 points mixing lists:
Ask the user to input two lists of equal size. new list which interleaves the two lists by taking 1 from the beginning of the first list and then one from the end of the second list then the 2nd one from the first list and the second last one from the second list and so on. Output this list
Sample Output 1:
Please enter list 1: 1 2 3 4
Please enter list 2: 5 6 7 8
The combined list is 1 8 2 7 3 6 4 5
Sample Output 2:
Please enter list 1: 1 3 5 7
Please enter list 2: 8 6 4 2
The combined list is 1 2 3 4 5 6 7 8