Skip to content

Instantly share code, notes, and snippets.

@hixsondane
hixsondane / pythonfunctiontest
Created March 16, 2012 00:05
random python functions
def list_benefits():
benefit = ["More organized code","More readable code","Easier code reuse","Allowing programmers to share and connect code together"]
return benefit
def build_sentence(benefit):
for list in benefit:
print "%s is a benefit of functions!" % benefit
def name_the_benefits_of_functions():
list_of_benefits = list_benefits()