I'm to have the user input what classes they have taken and tell them what they have left to do. I have my for loop done but I feel like I need an array or something because they should have entered requirement for 6 different class types. Here is my code, my conditional wont work though, any ideas?
import string
number_of_courses = input ('Please enter...')
for number_of_courses in range (0, number_of_courses):
major = raw_input('Enter class type') #cmsc, math, etc..
coursenum = input('Enter course number')
print ("A Requirements") #for cmsc
if major = cmsc: #this wont work, idk why?!?!?
if coursenum = 201:
print ('You need 202, 203, 304, 313, 331, 341, 345, 421')
I'm very confused, there must be an easier way to do this than using a million if statements.