# !/usr/bin/python
# -*- coding:utf-8 -*-
# @Author : xlwang
# @File : main.py
# @Project : DataProject

import itertools

case_list = ['用户名','密码']
value_list = ['正确','不正确','特殊符号','超过最大长度']

def gen_case(item=case_list, value=value_list):
    """输出笛卡儿积"""
    for i in itertools.product(item, value):
        print('输入'.join(i))

def print_multiple(n):
    '打印乘法表'
    for i in range(n):
        for j in range(i + 1):
            print('%d * %d = %2d' % ((j + 1), (i + 1),(j + 1) * (i + 1)), end='  ')
        print('')

def print_msg(msg):
    print("{}".format(msg))


if __name__ == '__main__':
    # gen_case()
    print_multiple(9)