#prints the sum of any number
def sum_of_digits(nums: int):
nums=str(nums)
sum = 0
for i in nums:
sum+=int(i)
return sum
print(sum_of_digits(123))
#prints '6'. 1+2+3
string = 'string'
for i in range(11):
string +=str(i)
print string
#convert your number to a string using the str() function and add it to your existing string
yourString + str(yourNumber)
>>> print 'red' + str(3)
red3
>>>
num = 256
str(num)
'256'