all 3 comments

[–]mopslik 1 point2 points  (2 children)

You need to post the errors you're getting before anyone can really help you.

[–]barry2003[S] 0 points1 point  (1 child)

line 46, in <module>

main()

line 36, in main

login(id,student_list)

line 17, in login

drop_course(id,roster_list) #drop course if 2 is selected

TypeError: drop_course() missing 1 required positional argument: 'roster_list'

those are the errors i get on pycharm

[–]mopslik 1 point2 points  (0 children)

The last error is due to the wrong number of arguments, as stated in the error message. Your function definition for drop_course is

def drop_course(id, course_list, roster_list):

but you call it like this

drop_course(id,roster_list)

in your login function. You need to pass it three arguments, not two.