I don't understand why this program is said to be "not defined" when I test
it.


def problem22(aList):
    length=len(aList)
    if (length>6):
        bueler=False
    else:
        bueler=True
        for i in aList:
            if(i < 0 and i > 6)==False:
                bueler=False
            else:
                buler=True
                if type(i)!=("integer"):
                    bueler=False
                else:
                    bueler=True
    return bueler
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to