Write an algorithm in Python to find the sum of the digits in a number.
123
def findSum(n): 
	Sum = 0 
	n = str(n)
	for i in n: 
		Sum = Sum + int(i) 
	return Sum

# Driver code  
n = 123
print(findSum(n))