ch4 example
build func
getattr
filter
and  or skill
chapter 4 finished