########################################################################
# PLACE LIST CREATIONS HERE #
########################################################################
stage_list = ["moon", "mars", "jupiter", "pluto", "space", "city"]
########################################################################
# PLACE ALL OTHER CODE BELOW THIS #
########################################################################
t = codesters.Teacher()
comments = t.find_text('ALL OTHER', True)
stages = t.find_text('stage_image')
try:
tval0 = int(comments[0][0])
except:
tval0 = 0.0
try:
tval1a = int(stages[0][0])
tval1 = stages[0][1].replace(' ' , '')
except:
tval1a = 0.0
tval1 = "DNE"
try:
tval2 = my_var
except:
tval2 = "DNE"
t1 = TestObjective()
t1.add_success(tval1 == 'stage_image=stage_list[0]' and tval0 < tval1a, "Great job!")
t1.add_failure(tval1 == "DNE", "Did you use Get Value at Index and name the variable stage_image?")
t1.add_failure(tval1 == "DNE" and tval2 != "DNE", "Did you change my_var to stage_image?")
t1.add_failure('my_list' in tval1, "Oops! Did you change the list name to stage_list?")
t1.add_failure('[0]' not in tval1, "Make sure you're accessing the first value in your list by putting 0 in the brackets.")
t1.add_failure('0' in tval1 and '[0]' not in tval1, "Oops! Make sure you don't delete the brackets around the number!")
t1.add_failure(tval0 > tval1a, "Oops! Make sure this line of code is in the bottom section of the program!")
tester = TestManager()
tester.add_test_list([t1])
tester.run_tests()
tester.display_first_feedback()