summaryrefslogtreecommitdiff
path: root/comp/work/23/higherorder.py
blob: 181c333745de827bcc1c711686a0feba97a88941 (plain)
1
2
3
4
5
6
7
8
9
10
def shout(word):
    return (word.upper())

def wisper(word):
    return (word.lower())

def say(func):
    print(func("heLLo"))

say(shout)