This is the code, Please provide the hierarchy chart, IPO chart, and flowchart. def determine_grade(score): if score >= 90: return 'A' elif score >= 80: return 'B' elif score >= 70: return 'C' elif score >= 60: return 'D' else: return 'F' def calc_average(g1, g2, g3, g4, g5): return (g1 + g2 + g3 + g4 + g5) / 5.0 def main(): score1 = int(input("Enter a score: ")) print("Letter grade is " + determine_grade(score1)) score2 = int(input("Enter a score: ")) print("Letter grade is " + determine_grade(score2)) score3 = int(input("Enter a score: ")) print("Letter grade is " + determine_grade(score3)) score4 = int(input("Enter a score: ")) print("Letter grade is " + determine_grade(score4)) score5 = int(input("Enter a score: ")) print("Letter grade is " + determine_grade(score5)) avg = calc_average(score1, score2, score3, score4, score5) print("Average score is " + str(avg)) print("Average grade is " + determine_grade(avg)) if __name__ == '__main__': main()