SHARE
TWEET

Untitled

paxint12 Sep 15th, 2019 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. a = int(input("Вычислить факториал для: "))
  2. i = a - 1
  3. result = a
  4. while i:
  5.     result = result * i
  6.     i -= 1
  7. else:
  8.     print("Факториал числа равен:", result)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top