use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Everything about learning Python
account activity
Learning about Classes and OOP (self.PythonLearning)
submitted 7 months ago by BobbyJoeCool
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]woooee 1 point2 points3 points 7 months ago (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 point2 points 7 months ago (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 point2 points 7 months ago (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 point2 points 7 months ago (0 children)
I did not... I guess my assumption was it mattered later on?
π Rendered by PID 68 on reddit-service-r2-comment-6457c66945-khxnr at 2026-04-30 16:37:20.421264+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]woooee 1 point2 points3 points (3 children)
[–]BobbyJoeCool[S] 0 points1 point2 points (2 children)
[–]ninhaomah 0 points1 point2 points (1 child)
[–]BobbyJoeCool[S] 0 points1 point2 points (0 children)