from student import student

student1 = student("jim" ,"Business" , 3.1 , False)
student2 = student("pam","Art", "3.8",True)
print(student2.on_honor_roll())

from question import question
question_prompts=[
    "what color are apples? \n(a)red/green\n(b)purple\n(c)orange\n\n",
    "what color are bananas?\n(a)teal\n(b)magenta\n(c) yellow\n\n",
    "what color are strawberries ? \n(a) yellow\n(b) red\n(c) blue\n\n",
]

questions =[
    question(question_prompts [0],"a"),
    question(question_prompts [1],"c"),
    question(question_prompts [2],"b"),
]

def run_test(questions):
    score = 0
    for question in questions:
        answer = input(question.prompt)
        if answer == question.answer:
            score +=1
    print("You get" + str(score) + "/" +  str(len(questions)) + "correct")

run_test(questions)
f9a1651e663fe9cb2c1b7ca24726f9407b65a7e9
<mask token>


def run_test(questions):
    score = 0
    for question in questions:
        answer = input(question.prompt)
        if answer == question.answer:
            score += 1
    print('You get' + str(score) + '/' + str(len(questions)) + 'correct')


<mask token>

<mask token>
print(student2.on_honor_roll())
<mask token>


def run_test(questions):
    score = 0
    for question in questions:
        answer = input(question.prompt)
        if answer == question.answer:
            score += 1
    print('You get' + str(score) + '/' + str(len(questions)) + 'correct')


run_test(questions)

<mask token>
student1 = student('jim', 'Business', 3.1, False)
student2 = student('pam', 'Art', '3.8', True)
print(student2.on_honor_roll())
<mask token>
question_prompts = [
    """what color are apples? 
(a)red/green
(b)purple
(c)orange

""",
    """what color are bananas?
(a)teal
(b)magenta
(c) yellow

""",
    """what color are strawberries ? 
(a) yellow
(b) red
(c) blue

"""]
questions = [question(question_prompts[0], 'a'), question(question_prompts[
    1], 'c'), question(question_prompts[2], 'b')]


def run_test(questions):
    score = 0
    for question in questions:
        answer = input(question.prompt)
        if answer == question.answer:
            score += 1
    print('You get' + str(score) + '/' + str(len(questions)) + 'correct')


run_test(questions)

from student import student
student1 = student('jim', 'Business', 3.1, False)
student2 = student('pam', 'Art', '3.8', True)
print(student2.on_honor_roll())
from question import question
question_prompts = [
    """what color are apples? 
(a)red/green
(b)purple
(c)orange

""",
    """what color are bananas?
(a)teal
(b)magenta
(c) yellow

""",
    """what color are strawberries ? 
(a) yellow
(b) red
(c) blue

"""]
questions = [question(question_prompts[0], 'a'), question(question_prompts[
    1], 'c'), question(question_prompts[2], 'b')]


def run_test(questions):
    score = 0
    for question in questions:
        answer = input(question.prompt)
        if answer == question.answer:
            score += 1
    print('You get' + str(score) + '/' + str(len(questions)) + 'correct')


run_test(questions)

from student import student

student1 = student("jim" ,"Business" , 3.1 , False)
student2 = student("pam","Art", "3.8",True)
print(student2.on_honor_roll())

from question import question
question_prompts=[
    "what color are apples? \n(a)red/green\n(b)purple\n(c)orange\n\n",
    "what color are bananas?\n(a)teal\n(b)magenta\n(c) yellow\n\n",
    "what color are strawberries ? \n(a) yellow\n(b) red\n(c) blue\n\n",
]

questions =[
    question(question_prompts [0],"a"),
    question(question_prompts [1],"c"),
    question(question_prompts [2],"b"),
]

def run_test(questions):
    score = 0
    for question in questions:
        answer = input(question.prompt)
        if answer == question.answer:
            score +=1
    print("You get" + str(score) + "/" +  str(len(questions)) + "correct")

run_test(questions)