Question: Python Coding Problem ###################################### Q5 ############################### # Write a function to print out a grade record for a single class. # The return statement for

Python Coding Problem

###################################### Q5 ###############################

# Write a function to print out a grade record for a single class.

# The return statement for such functions should be None or just blank

# while during the function call, it will display the print.

course = { "class":"IntroDS", "id":"DATS 6101", "semester":"spring", "year":2018, "grade":'B-', "credits":3 }

def printCourseRecord(course):

# write an appropriate and helpful docstring

# use a single print() statement to print out a line of info as shown here

# 2018 spring - DATS 6101 : Intro to DS (3 credits) B- Grade point credits: 8.10

# ?????? fill in your codes here

return # or return None

# Try:

printCourseRecord(course)

# What is the input (function argument) data type for printCourseRecord?

# What is the output (function return) data type for printCourseRecord(course) ?

Python Coding Problem ###################################### Q5 ############################### # Write a function to print

##################### Q5 ############################### # Write a function to print out a grade record for a single class. # The return statement for such functions should be None or just blank # while during the function call, it will display the print. course = { "class":"Introds", "id": "DATS 6101", "semester":"spring", "year":2018, "grade" : 'B-", "credits":3 } def printCourseRecord (course): # write an appropriate and helpful docstring # use a single print() statement to print out a line of info as shown here # 2018 spring - DATS 6101 : Intro to DS (3 credits) B- Grade point credits: 8.10 # ?????? fill in your codes here return # or return None # Try: printCourseRecord (course) # What is the input (function argument) data type for printCourseRecord? # What is the output (function return) data type for printCourseRecord (course)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!