Programme chap2_type_1644_.py


# coding: latin-1
x  = 32
y  = 9
op = "+ - * / % // & | and or << >>".split ()
for o in op :
    s = str (x) + " " + o + "  " + str (y)
    print s, " = ", eval (s)

créé avec py2html version:0.62