python学习之N个a相加

题目:求s=a+ aa + aaa +…+ a..a(n个a)

两种方案:

以及

 

1!+2!+…+n!

原文地址:https://www.cnblogs.com/HuangDaDa/p/7921452.html