Skip to content

Instantly share code, notes, and snippets.

@saxbophone
Created March 5, 2019 15:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saxbophone/95ffc41781a8f14bab9ab291ed07c059 to your computer and use it in GitHub Desktop.
Save saxbophone/95ffc41781a8f14bab9ab291ed07c059 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python3
compass_directions = [
'North', 'South', 'East', 'West',
]
places = [
'United Kingdom', 'Britain', 'England', 'Scotland', 'Wales',
'Northern Ireland',
]
for place in places:
for direction in compass_directions:
print(
'University of the {0} of {1} (U.{2}.{3}.)'.format(
direction, place, direction[0].upper(), place[0].upper()
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment