The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Jul 2017 |
| Last Sign in: | 364 Weeks Ago, 2 Days Ago |
| Questions Answered: | 1850 |
| Tutorials Posted: | 1850 |
Graduate in Biology and Nutrition, MBA Finance
Florida State University
Aug-2000 - Jul-2007
Ass. Relationship Manager
Penn-Florida
Mar-2009 - Feb-2016
I am trying to make this code excutable so program will work. Â Program is not working, I need you to fix python code.
Â
def main():
test1 = int(input('Enter test grade 1: '))
   test2 = int(input('Enter test grade 2: '))
   test3 = int(input('Enter test grade 3: '))
   test4 = int(input('Enter test grade 4: '))
   test5 = int(input('Enter test grade 5: '))
   grade = (test1 + test2 + test3 + test4 + test5)
   input('press enter to continue')
   print(calc_average)
   print(determine_grade)
   print(getValidScore)
   print(isInvalidScore)
   return;
def calcAverage():
   grade / 5
   return averageScore
def determinGrade(score):
   if grade >= 90 and grade        return 'A'
   elif grade >= 80 and grade        return 'B'
   elif grade >= 70 and grade        return 'C'
   elif grade >= 60 and grade        return 'D'
   else:
       return 'F'
def getValidScore():
   grade = int(input('input score'))isInvalidScore(score)
   while isInvalidScore == false:
       print('ERROR')
   grade = int(input('input correct score'))
   return score
def isInvalidScore(score):
   status = True
   if score 100:
      status = True
   else: status = False
   return status
main()
Hel-----------lo -----------Sir-----------/Ma-----------dam----------- Â----------- -----------Tha-----------nk -----------you----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------acq-----------uis-----------iti-----------on -----------of -----------my -----------pos-----------ted----------- so-----------lut-----------ion-----------.Pl-----------eas-----------e p-----------ing----------- me----------- on----------- ch-----------at -----------I a-----------m Â----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I