Skip to content

Instantly share code, notes, and snippets.

@mightywombat
Created April 18, 2018 22:25
Show Gist options
  • Save mightywombat/ef946dda0feec1ec70a7532fd59f2c95 to your computer and use it in GitHub Desktop.
Save mightywombat/ef946dda0feec1ec70a7532fd59f2c95 to your computer and use it in GitHub Desktop.
practicepython.org Ex 03
# practicepython.org Ex 03
a = [1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89]
z = []
for integer in a:
if (integer < 5):
z.append(integer)
print (z)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment