Created
June 7, 2019 09:31
-
-
Save H4medRostami/671637afa8d7a572e1b489febf86f7aa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mylist = [1, 4, -5, 10, -7, 2, 3, -1] | |
[n for n in mylist if n>0] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment