-- coding:utf-8 --
class Solution:
def Sum_Solution(self, n):
if n==1:
return 1
return n+self.Sum_Solution(n-1) # write code here
class Solution:
def Sum_Solution(self, n):
if n==1:
return 1
return n+self.Sum_Solution(n-1) # write code here