python九九乘法表脚本:
#–conding:utf-8–
auther = \’YJ0_1\’
class PrintTable(object):
def __init__(self):print(\'start\')self.print99()def print99(self):for i in xrange(1,10):for j in xrange(1,i+1):print(\'%dx%d=%2s\' % (j,i,i*j)),print(\'\\n\')
if name == \’main\’:
pt = PrintTable()