#String Formatting - dynamic string
number1 = 10
number2 = 20
number3 = 30
# print("val of no is {0}".format(number1))
print("val of no1 and no2 and no3 is - {0} and {1} and {2}".format(number1, number2, number3))

# function using String formatting.
sum1 = 0 #sum1 is global
def addition3(a,b):
	sum1 = a+b #sum1 is local
	print("2-val of sum1 is {0}".format(sum1))
	#this prints inside function sum1
	return sum1
Sum1=addition3(8,9)
print(Sum1)