Computers and Technology

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

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 16:10, Unkn0wn3815
Which is a benefit of peer-to-peer networking? easy to add or remove devices main server has a fast processor more reliable than a client/server network same software versions on all computers
Answers: 3
image
Computers and Technology, 22.06.2019 08:40, baue4431
What are the three parts to physical security standards for various types of army equipment and the risk level
Answers: 2
image
Computers and Technology, 22.06.2019 16:20, Aleja9
It policy compliance and emerging technologies respond to the following: propose at least three control measures that organizations need to put in place to ensure that they remain complaint with emerging technologies and in a continually changing it environment. examine the correlation of effective configuration management and change control procedures to remain compliant with emerging technologies and it security changes.
Answers: 2
image
Computers and Technology, 23.06.2019 07:10, anika420
If you want to import a picture into a dtp application, what must you do first? draw an image frame. import text. open the folder containing the file. select get image… from the windows menu.
Answers: 2
Do you know the correct answer?
Your goal is to write the following 10 functions inside canvas_analyzer. py: main: Consumes a strin...

Questions in other subjects:

Konu
Mathematics, 24.08.2019 17:50
Konu
Mathematics, 24.08.2019 17:50
Konu
Mathematics, 24.08.2019 17:50
Konu
Mathematics, 24.08.2019 17:50