py3-1: conditionals/for-whileloop/function/generator