Question
Python coding problem. # let us write a function find_grade(total) # which will take your course total (0-100), and output the letter grade (see your
Python coding problem.
# let us write a function find_grade(total)
# which will take your course total (0-100), and output the letter grade (see your syllabus)
# have a habbit of putting in the docstring
total = 62.1
def find_grade(total):
# write an appropriate and helpful docstring
# ?????? fill in your codes here, be sure you have all A, A-, ... thru D, and F grades completed.
# grade = ???
return grade
# Try:
print(find_grade(total))
# Also answer these:
# What is the input (function argument) data type for total?
# What is the output (function return) data type for find_grade(total) ?
###################################### 01 ############################### # let us write a function find_grade (total) # which will take your course total (0-100), and output the letter grade (see your syllabus) # have a habbit of putting in the docstring total = 62.1 def find_grade (total): # write an appropriate and helpful docstring # ?????? fill in your codes here, be sure you have all A, A-, ... thru D, and F grades completed. # grade = ??? return grade # Try: print(find_grade (total)), # Also answer these: # What is the input (function argument) data type for total? # What is the output (function return) data type for find_grade(total)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started