SHARE
TWEET

Untitled

a guest Sep 20th, 2019 81 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. k = 0
  2. p = int(input("Введите ненулевое число "))
  3. for i in range (1,10):
  4.     n = int(input("Введите ненулевое число "))
  5.     a = p/n
  6.     p = n
  7.     if a < 0:
  8.         k += 1
  9. print(k)
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