from instructor import Instructor
from student import Student

chicken_monkey = Exercise('Chicken Monkey', 'Swift')
add_three = Exercise('Add Three', 'Python')
guess_num = Exercise('Guess Number', 'Python')
coins_rupees = Exercise('Coins to Rupees', 'Javascript')

exercises = list()
exercises.extend([chicken_monkey, add_three, guess_num, coins_rupees])

cohort1 = Cohort('Evening Cohort 1')
cohort2 = Cohort('Evening Cohort 2')
cohort3 = Cohort('Day Cohort 1')

kaleb = Student('Kaleb', '?', 'iamkaleb', 40)
zach = Student('Zach', '?', 'iamzack', 40)
sophia = Student('Sophia', 'Lamb', 'iamsophia', 40)
sam = Student('Sam', 'Breckers', 'iamsam', 40)

students = list()
students.extend([kaleb, zach, sophia, sam])

joe = Instructor('Joe', 'Shepherd', 'joeshep', 40, 'Dad jokes')
bryan = Instructor('Bryan', 'Nilsen', 'bnilsen', 40, 'Bad jokes')
sage = Instructor('Sage', 'Klein', 'mesage', 40, 'Figma')

joe.assignExercise(kaleb, chicken_monkey)
bryan.assignExercise(zach, add_three)
sage.assignExercise(sophia, guess_num)
joe.assignExercise(sam, coins_rupees)
exercise_two = Exercise("Exercise Two", "Python")
exercise_three = Exercise("Exercise Three", "C#")
exercise_four = Exercise("Exercise Four", "C#")

cohort_one = Cohort("C37")
cohort_two = Cohort("C38")
cohort_three = Cohort("C39")
cohort_four = Cohort("C40")

student_one = Student("Jim", "Simmons", "@JimmySimms", cohort_one)
student_two = Student("Barb", "Wyer", "@BarbWyer", cohort_two)
student_three = Student("John", "Legend", "@LegendofJohn", cohort_three)
student_four = Student("Mack", "Williams", "@MackyWilly", cohort_four)

bryan_nilsen = Instructor("Bryan", "Nilsen", "@bnilsen", cohort_two, "high-fives")
andy_collins = Instructor("Andy", "Collins", "@andycollins", cohort_two, "sarcasm")
kristen_norris = Instructor("Kristen", "Norris", "@knorris", cohort_two, "correction other instructors' errors")
jisie_david = Instructor("Jisie", "David", "@jisiedavid", cohort_two, "spreading the positive attitude")
chase_fite = Instructor("Chase", "Fite", "@chasefite", cohort_two, "helping out students")

bryan_nilsen.assignExercise(exercise_one, student_one)
bryan_nilsen.assignExercise(exercise_four, student_one)

andy_collins.assignExercise(exercise_two, student_two)
andy_collins.assignExercise(exercise_three, student_two)

kristen_norris.assignExercise(exercise_one, student_three)
kristen_norris.assignExercise(exercise_three, student_three)

jisie_david.assignExercise(exercise_two, student_four)
jisie_david.assignExercise(exercise_four, student_four)
Example #3
0
kaleb = Student("Kaleb", "Moran", "@ssbmDWAIN")
tanner = Student("Tanner", "Brainard", "@bigBRAINbigBUCKS")

joe = Instructor("Joe", "Shepherd", "@morningjoe", "Infinite patience")
bryan = Instructor("Bryan", "Nielsen", "@fathercomedy", "Dad jokes")
sage = Instructor("Sage", "Klein", "@fallensoldierRIP", "Humor & Figma?")

c40.addStudents(zach, kaleb)
c38.addStudents(ronnie, tanner)
c19.addStudents(zach, ronnie, kaleb, tanner)

c40.addInstructors(joe, bryan, sage)
c38.addInstructors(joe, bryan)
c19.addInstructors(sage)

joe.assignExercise(zach, car_dealership)
bryan.assignExercise(kaleb, car_dealership)
sage.assignExercise(ronnie, frontend_capstone)
joe.assignExercise(tanner, nutshell)
joe.assignExercise(ronnie, nutshell)
joe.assignExercise(kaleb, nutshell)
bryan.assignExercise(tanner, daily_journal)
sage.assignExercise(tanner, frontend_capstone)
sage.assignExercise(ronnie, daily_journal)

print(zach, kaleb, ronnie, tanner)
print(c40, c38, c19)

exercises = [daily_journal, frontend_capstone, nutshell, car_dealership]
students = [zach, kaleb, ronnie, tanner]