for dan in range(2, 10):
    print(dan, "단")
    for hang in range(1, 10):
        print(dan, "*", hang, "=", dan * hang)
    print()
8804e863ba7702a6fe9093bf2226ca8e1d5114d7
<mask token>

for dan in range(2, 10):
    print(dan, '단')
    for hang in range(1, 10):
        print(dan, '*', hang, '=', dan * hang)
    print()

for dan in range(2, 10):
    print(dan, "단")
    for hang in range(1, 10):
        print(dan, "*", hang, "=", dan * hang)
    print()