Python题目求解答问题4defsumofexpress(a,n):sum=0foriinrange(1,n+1):sum+=int(str(a)*i)returnsumif__name__=='_...