Surprise! We've been running on hardware provided by BuyVM for a few months and wanted to show them a little appreciation.
Running a paste site comes with unique challenges, ones that aren't always obvious and hard to control. As such, BuyVM offered us a home where we could worry less about the hosting side of things and focus on maintaining a clean and useful service! Go check them out and show them some love!
Submitted on June 1, 2016 at 11:44 AM

Section 1 (Python)

from collections import namedtuple

Animal = namedtuple('Animal',
    [ 'species', 'name', 'call' ])

zoo = [
    Animal('dog', 'Spotty', 'woof'),
    Animal('dog', 'Fido', 'grrrr')
]

def everyone(group):
    for a in group:
        print("%s: %s" % (a.name, a.call))

everyone(zoo)