subject

Your goal is to write the following 10 functions inside canvas_analyzer. py: main: Consumes a string representing the user token (e. g., 'hermione') and calls all the other functions as shown in the diagram.
print_user_info: Consumes a User dictionary and prints out the user's name, title, primary email, and bio. It does not return anything. Note: this function consumes a dictionary, not a string; it does NOT call the canvas_requests. get_user function, it consumes the result of calling the function.
filter_available_courses: Consumes a list of Course dictionaries and returns a list of Course dictionaries where the workflow_state key's value is 'available' (as opposed to 'completed' or something else).
print_courses: Consumes a list of Course dictionaries and prints out the ID and name of each course on separate lines.
get_course_ids: Consumes a list of Course dictionaries and returns a list of integers representing course IDs.
choose_course: Consumes a list of integers representing course IDs and prompts the user to enter a valid ID, and then returns an integer representing the user's chosen course ID. If the user does not enter a valid ID, the function repeatedly loops until they type in a valid ID. You will need to use the input function to get the user's choice.
summarize_points: Consumes a list of Submission dictionaries and prints out three summary statistics about the submissions where there is a score (i. e. the submissions score is not None):
Points possible so far: The sum of the assignments' points_possible multiplied by the assignment's group_weight.
Points obtained: The sum of the submissions' score multiplied by the assignment's group_weight.
Current grade: the Points obtained divided by the Points possible so far, multiplied by 100 and rounded. Note that you can use the built-in round function.
summarize_groups: Consumes a list of Submission dictionaries and prints out the group name and unweighted grade for each group. The unweighted grade is the total score for the group's submissions divided by the total points_possible for the group's submissions, multiplied by 100 and rounded. Like the summarize_points function, you should ignore the submission without a score (i. e. the submission's score is None). You are recommended to apply the Dictionary Summing Pattern to implement this function. This function is a little difficult, so you might want to complete the next function first.
plot_scores: Consumes a list of Submission dictionaries and plots each submissions' grade as a histogram. The grade is calculated as the submission's scoremultiplied by 100 and divided by the assignment's points_possible. You should only plot the submissions that have been graded (score is not None) and the assignment is worth more than 0 points (points_possible is not truthy). Title your graph as "Distribution of Grades", label the X-axis as "Grades", and label the Y-axis as "Number of Assignments".
plot_grade_trends: Consumes a list of Submission dictionaries and plots the grade trend of the submissions as a line plot. The grade trend contains three lines (ordered by the assignments' due_at date) that show you the range of grades you could get in the course:
Highest: The running sum of graded submission scores followed by the running sum of points still possible from ungraded assignments.
Lowest: The running sum of graded submission scores followed by the running sum if you scored 0 on all ungraded assignments.
Maximum: The running sum of the points possible on all assignments in the course.
Do in Python please, I need help and would appreciate any help at all

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 15:20
An ou structure in your domain has one ou per department, and all the computer and user accounts are in their respective ous. you have configured several gpos defining computer and user policies and linked the gpos to the domain. a group of managers in the marketing department need different policies that differ from those of the rest of the marketing department users and computers, but you don't want to change the top-level ou structure. which of the following gpo processing features are you most likely to use? a, block inheritance b, gpo enforcement c, wmi filtering d, loopback processing
Answers: 3
question
Computers and Technology, 23.06.2019 18:30
Where can page numbers appear? check all that apply. in the header inside tables in the footer at the bottom of columns at the top of columns
Answers: 1
question
Computers and Technology, 24.06.2019 01:00
How can the temperature of a room be raised by 5degreesf?
Answers: 1
question
Computers and Technology, 25.06.2019 09:30
If a business owner wanted to create a banner ad for his business on his webpage, he could use java programming to develop a (n) spreadsheet cad software applet music application
Answers: 1
You know the right answer?
Your goal is to write the following 10 functions inside canvas_analyzer. py: main: Consumes a strin...
Questions
question
Business, 30.06.2020 15:01
question
English, 30.06.2020 15:01
question
English, 30.06.2020 15:01
question
Social Studies, 30.06.2020 15:01
question
Mathematics, 30.06.2020 15:01
question
Mathematics, 30.06.2020 15:01
question
English, 30.06.2020 15:01
question
Mathematics, 30.06.2020 15:01
question
Physics, 30.06.2020 15:01
question
Spanish, 30.06.2020 15:01