Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. import math
  2. a = 139603
  3. b = 141247
  4. g = 0
  5. c = 0
  6. d = 0
  7. key = 0
  8. if a < 0: a = -a
  9. if b < 0: b = -b
  10. key = input("Обычный:1 / Расширенный:2")
  11. if key = 1:
  12. while b:
  13. a, b = b, a % b
  14. print(a)
  15. print(b)
  16. nod = a
  17. print(nod)
  18. elif key = 2:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement