Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
external.py
#!/usr/bin/env python3
friends = ['serval', 'racoon', 'fennec']
japaripark = ['serval', 'racoon', 'fennec', 'boss', 'cafe', 'library']
for element in japaripark:
if element in friends:
print(element + ' is my friend.')
else:
pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment