# -*- coding: utf-8 -*- #date:2019.07.05 print ('1+100的总和是:%s' % reduce(lambda x,y:x+y,range(1,101))) 1. 2. 3. 4. 求阶乘: #!/usr/bin/python # -*- coding: utf-8 -*- #date:2019.07.05 print ('5的阶乘是:%s' % reduce(lambda x,y:x*y,range(1,6))) 1. ...