Ledger Nano X - The secure hardware wallet


a guest Apr 6th, 2020 137 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. N = 20
  2. i = None
  3. j = None
  4. k = None
  5. a = [int(input()) for i in range(N)]
  6. j=0
  7. for i in range(N-1):
  8.   if (a[i]+a[i+1])%2==1  and (a[i]+a[i+1])>0:
  9.     j+=1
  10. print(j)
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