def grade_manipulation(grade_list): ''' Question You are working as a TA and the professor asks you to handle the uncleaned student grades. - First, substitute all grades that are None with a 0 - Second, reverse the order of the student grades - Third, change the type of the list to a tuple Args: grade_list (list) Returns: tuple >>> grade_manipulation([67, 95, 60, None, 100]) (100, 0, 60, 95, 67) ''" # print(grade_manipulation([67, 95, 60, None, 100])) # print('---
def grade_manipulation(grade_list): ''' Question You are working as a TA and the professor asks you to handle the uncleaned student grades. - First, substitute all grades that are None with a 0 - Second, reverse the order of the student grades - Third, change the type of the list to a tuple Args: grade_list (list) Returns: tuple >>> grade_manipulation([67, 95, 60, None, 100]) (100, 0, 60, 95, 67) ''" # print(grade_manipulation([67, 95, 60, None, 100])) # print('---
C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter7: Arrays
Section7.5: Case Studies
Problem 3E
Related questions
Question
def grade_manipulation(grade_list):
'''
Question
You are working as a TA and the professor asks you to handle the
uncleaned student grades.
- First, substitute all grades that are None with a 0
- Second, reverse the order of the student grades
- Third, change the type of the list to a tuple
Args:
grade_list (list)
Returns:
tuple
>>> grade_manipulation([67, 95, 60, None, 100])
(100, 0, 60, 95, 67)
''"
# print(grade_manipulation([67, 95, 60, None, 100]))
# print('---')
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 2 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr