Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. #!/usr/bin/python
  2.  
  3. a = raw_input("masukkan nilai faktorial yang ingin dicari =")
  4. c = int(a)
  5. for i in range(c):
  6. if i==0:
  7. c=c*1
  8. else :
  9. c=c*i
  10. print (c)