Incorrect message


#1



https://www.codecademy.com/courses/python-beginner-en-cxMGf/2/3?curriculum_id=4f89dab3d788890003000096


the code works correct , the greater number is printed, but I am getting a message:
Oops, try again. "2" was printed instead of "3".


to continue to the next session


Replace this line with your code. 

list_a = [3, 9, 17, 15, 19]
list_b = [2, 4, 8, 10, 30, 40, 50, 60, 70, 80, 90]

for a, b in zip(list_a, list_b):
    # Add your code here!
    if(a >= b):
        print "A %s" %a
    else:
        print "B %s" %b


#2

you should just print a or b as integer without any further string in order to pass the exercise


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.