Question: Python Coding Problem https://www.chegg.com/homework-help/questions-and-answers/python-coding-problem-question-7-recursive-function-write-recursive-function-calculates-fi-q44275062?trackid=YDJ3N-0v ###################################### Q6 ############################### # write a function (with arguement of courses) to print out the complete transcript and the gpa at
Python Coding Problem
https://www.chegg.com/homework-help/questions-and-answers/python-coding-problem-question-7-recursive-function-write-recursive-function-calculates-fi-q44275062?trackid=YDJ3N-0v
###################################### Q6 ###############################
# write a function (with arguement of courses) to print out the complete transcript and the gpa at the end
# 2018 spring - DATS 6101 : Intro to DS (3 credits) B- Grade point credits: 8.10
# 2018 fall - DATS 6102 : Data Warehousing (4 credits) A- Grade point credits: 14.80
# ........ few more lines
# Cumulative GPA: ?????
def printTranscript(courses):
# write an appropriate and helpful docstring
for course in courses:
# print out each record as before
# after the completion of the loop, print out a new line with the gpa info
return # or return None
# Try to run, see if it works as expected to produce the desired result
# courses is already definted in Q4
printTranscript(courses)
# What is the input (function argument) data type for printTranscript?
# What is the output (function return) data type for printTranscript(courses) ?
###################################### Q6 ############################### # write a function (with arguement of courses) to print out the complete transcript and the gpa at the end # 2018 spring DATS 6101 : Intro to DS (3 credits) B- Grade point credits: 8.10 # 2018 fall DATS 6102 : Data Warehousing (4 credits) A- Grade point credits: 14.80 # ........ few more lines # Cumulative GPA: ????? def printTranscript(courses): # write an appropriate and helpful docstring for course in courses: # print out each record as before # after the completion of the loop, print out a new line with the gpa info return # or return None # Try to run, see if it works as expected to produce the desired result # courses is already definted in Q4 printTranscript(courses), # What is the input (function argument) data type for printTranscript? # What is the output (function return) data type for printTranscript(courses) ? ###################################### Q6 ############################### # write a function (with arguement of courses) to print out the complete transcript and the gpa at the end # 2018 spring DATS 6101 : Intro to DS (3 credits) B- Grade point credits: 8.10 # 2018 fall DATS 6102 : Data Warehousing (4 credits) A- Grade point credits: 14.80 # ........ few more lines # Cumulative GPA: ????? def printTranscript(courses): # write an appropriate and helpful docstring for course in courses: # print out each record as before # after the completion of the loop, print out a new line with the gpa info return # or return None # Try to run, see if it works as expected to produce the desired result # courses is already definted in Q4 printTranscript(courses), # What is the input (function argument) data type for printTranscript? # What is the output (function return) data type for printTranscript(courses)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
