输入一个正整数n,打印出相对应的数字图形输入格式:正整数n输出样例: 1 22 333 444455555
收起
n = int(input(">>>")) for i in range(1, n + 1): print(f"{str(i)*i:>{n}}")
报告相同问题?