Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mark = 0
- teacherAnswers = {
- 1: "a",
- 2: "b",
- 3: "c"
- }
- studentAnswers = {
- 1: "c",
- 2: "b"
- 3: "c"
- }
- # am trying to compare the teacher with student answers
- # and for each correct answer i want the mark to increase by one
- # the overall should be over 3
- # i know this might work with the for loop
- # but i don't know how
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement