Hi all, first post here! I just completed the course at codeacademy.com. neat little course.
Anyway, I'm onto my first project, making a GPA calculator. first issue ive run into is that I have my variable:
numbers = int(raw_input("How many classes have you taken"?))
then I need to add things to another list, in the form of: classes = (class name1, credit hours1, grade1, class name2, credit hours2, grade2, etc...)
to do this I set up a range loop:
for i in range("numbers"):
classes = raw_input("For one class enter the class name, credit hours and GPA \n Each separated by a comma \n")
The issue it's giving me, is that if I print classes to check my code, classes only holds the information for the last class entered. So if there is more than one class, it will not work. Ive tried multiple other things... .append, str(), int()...
any help completing the track im on, or giving me the creativity to try a different direction would help. thank you