SHARE
TWEET

Untitled

a guest Oct 21st, 2019 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. A = []
  2. B = []
  3. C = []
  4. i = 0
  5. while(i<=28):
  6.     ch = int(input('Введите численность людей в млн: '))
  7.     s = int(input('Введите площадь в тысячных кв.метрах : '))
  8.     A.append(ch)
  9.     B.append(s)
  10.     i += 1
  11.     n = 0
  12.     mini = 100
  13.     k = 0
  14.     while(k<=28):
  15.         C.append(A[k]/B[k])
  16.         if(mini>=C[k]):
  17.             mini = C[k]
  18.             n = k
  19.         k += 1
  20. print("МИНИМУМ : ",n, mini )
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