python 1: Lesson 8: more about loops: factorial example
eliminated inner loop