Question: please help using python code Part II Eerercine 5 ba a anple in Eefer pour eurrent furbed credit pointsi 36,5 Inter your ourrent camed credits:

Part II Eerercine 5 ba a anple in Eefer pour eurrent furbed credit pointsi 36,5 Inter your ourrent camed credits: 12 Eater the niaber of courses that yow are taking thas senester: 4 tater the courie code for courit oil concese tater the nuber of credts of comseze 1 leter the erade intaines in copocese: 92 ister the rourse code for cmurse ni: 1Nrs1zes teter the naber of credits of tursian: 4 Ester the erade otained in insiaes. 78 toter the course codr for courle in: 1netizes itter the nomber of crodits of Dwilised: 4 Enter the erode atained in InF13201: 96 later the couris code far churat s4: manesese Ester the nuber of creititi of mathaje 3 Geter the crade atalned in mitiaejer at your umenter onk 1s: 3.4642bs724283144 your cimintive on Is: 3.26 . Erotcuse 6 - The corrent earnet ened point scoul be a four m0 - The cureet eunet credns thouls be an inteper yod - Number if course this ienester should be an innee x0 - Courne codes rheuls comiat of four leten followed by bour Age - Grader thould se fort between o ind 200. Asd at thene ingut waldition ind teut your code. Inter your ourrent tamed cretlit points: two hundred Earned creicit poiats soould be a positive mieber. Enter you corrent rarned cretli pointsi 3.5 liter you current carabe crediti: twenty tarnod eredits should be a pouittie intefer tater gour torrent a arnet crediti: 10.3 farnad ereoles sheould be a positive integer. later your corrent ramed credits: 12 feter the nuber of courses that you are takine thas sesestert 2.5 haber of courses should be a pelitive intecer. leter the number of courses that you are taking this semester: 4 finter the carse cost for course ati conseae Enter the nober of crodits of comagat 3 Eiter the erade emtained in comaeser 92 coter the courle code fur courit 121 inf Course rede shosid include four letters followed by four ateits, Eater the rovis codr for courie a2: 12ien Course code ahovid include four letters followed by four digits. tater the tourin cose for caurse s2: anesize2 Eater the mater of realits of wosine14 40.5 credte of a course should be a pesitive integer. Eoter the numer of crealts of Dals1261: 4 tater the course code for court o1: 1nefizes Enter the naber of chedits of norrizel 4 fater the grade cotalned in Infitzoli 19 ratade should be less than or agoul to 1001 inter the erade itrained in 19 ritales 96 Eeter the cours code for courit a4: mende3 course code shosld inclule four letters folloust by four atgits. inter the courat code for canrie as: matielese Ester the naber of crodits of mhinae3a 3 ysur cumulative on is: 3.26s2ens92senes Exercise 7 As entering all the courses, credits and grades takes time, we will now use a different structure. We assume that we have three lists that contain, the courses names, the credits of each course and the grades in each course. For example, using the same example as we are using so far we would have at the beginning of our code the following three lists: courses=["Past","Comv1e2e","INFS12e1","INFT12e1","MATH1e3e"]credits=[12,3,4,4,3]grades=[36.5,92,78,96,86] Note that "Past" refers to the credit points and credis earned so far until the previous semester. Based on this structure compute the semester GPA as well as the cumulative GPA. With the same input as above, your code should simply return: Your senester GPA is: 3.4642857142857144 Your cumulative GPA is: 3.269239769230769 Exercise 8 Same exercise as before but with a unique list that contains all the required data: course code, followed by credit, followed by grade. data-["Past", 12, 36.5, "CoNr1e2e", 3, 92, "INFS12e1", 4, 78, "INFT12e1", 4, 96, "ATHe3e-, 3, 86] The sample run should return exactly the same. Your semester GPA is: 3.4642857142857144 Your cunulative GA 15: 3,26923e76923e759
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
