a = 7
b = 4
c = a-b
print(a,'-',b,'=',a+b)
print(f'{a} - {b} = {c}')
print('{0} - {1} = {2}'.format(a, b, c))
print('{0}-{1}={2}'.format(10,2,8))
print('{0:2f}'.format(5.222143143))
print('{a}+{b}={sum}'.format(a=2,b=7,sum=2+7))