python add syntax code example Example: how to add in python a = int(input()) b = int(input()) s = a+b print(S)