Python riddle

SPE - Stani's Python Editor spe.stani.be at gmail.com
Mon Dec 5 21:02:26 EST 2005


I know that this code is nonsense, but why does this print 'Why?'

a = 1
if a >2:
    try:
        5/0
    except:
        raise
else:
    print 'why?'




More information about the Python-list mailing list