一: n = input() print("{:->20}".format(n)) 输出: ---------234567890 二: n = input() print("{:->20,}".format(eval(n))) 输出: ---------234,567,890