python如何定義一個變量的多個值?
class Test: pass a = Test() for xx in range(97, 123): t = chr(xx) + '=Test()' print t exec(t) print eval(chr(xx)
) print a print z
python如何定義一個變量的多個值?
class Test: pass a = Test() for xx in range(97, 123): t = chr(xx) + '=Test()' print t exec(t) print eval(chr(xx)
) print a print z