Advertisement
contreforce24

Untitled

Oct 5th, 2016
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.40 KB | None | 0 0
  1. for i in range(len(c)):
  2.      if c[i]==1 and h[i]==0:
  3.           S1.append(v[i]-1.5)
  4.           S2.append(n[i])
  5.      elif c[i]==0 and h[i]==0:
  6.           S1.append(v[i])
  7.           S2.append(n[i]-1.5)
  8.      elif c[i]==1 and h[i]>0:
  9.           S1.append(v[i])
  10.           S2.append(n[i]-1.5)
  11.      elif c[i]==1 and h[i]>0:
  12.           S1.append(v[i])
  13.           S2.append(n[i]) #тут не понял условие
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement