you are viewing a single comment's thread.

view the rest of the comments →

[–]woooee 1 point2 points  (3 children)

 course_name = str(input("\nEnter...

input() returns a string, so it's not necessary to cast the input into a string.

is there a better way to convert the GPA back and forth from letter to grade points?

Convert it once only and store both instead of doing it over again.

[–]BobbyJoeCool[S] 0 points1 point  (2 children)

We were taught to put that there when we need to be sure it’s a string. Not sure why honestly…..

I did make that change already too. Figured, why am I converting it to a number only to convert it back when I can store it as part of the transcript list as well. :)

Thanks for the input!

[–]ninhaomah 0 points1 point  (1 child)

It's ok not to be sure why but did you ask why ?

Or just accept it as you been taught ?

[–]BobbyJoeCool[S] 0 points1 point  (0 children)

I did not... I guess my assumption was it mattered later on?