1 comment:

  1. a=int(raw_input("number is "))
    for a in range(1,a+1):
    factorial=1
    while a>0:
    factorial=factorial*a
    a=a-1
    print "%d! %d"%(a,factorial)

    ReplyDelete