a guest Jan 15th, 2020 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. N=5
  2. A=[0]*N
  3. Sum=1
  4. for i in range(n):
  5. A[i]=int(input())
  6. for i in range(n):
  7. if A[i]>A[0] and A[i]<A[3]:
  8. Sum=Sum*A[i]
  9. if Sum !=0:
  10. print(Sum)
  11. else:
  12. print
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