Advertisement
biswasrohit20

for

Mar 28th, 2021
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. numbers = list(range(20))
  2. results = []
  3.  
  4. for i in numbers:
  5. if i >0:
  6. if i % 2 == 0:
  7. results.append(i)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement