# Online Python - IDE, Editor, Compiler, Interpreter
def sum(a, b):
return (a + b)
a = int(input('Enter 1st number: '))
b = int(input('Enter 2nd number: '))
print(f'Sum of {a} and {b} is {sum(a, b)}')
print("Sum of " + str(a) + " and " + str(b) + " is " + str(sum(a, b)))
print("Sum of %s and %s is %s" % (a, b, sum(a, b)))
IyBPbmxpbmUgUHl0aG9uIC0gSURFLCBFZGl0b3IsIENvbXBpbGVyLCBJbnRlcnByZXRlcgoKZGVmIHN1bShhLCBiKToKICAgIHJldHVybiAoYSArIGIpCgphID0gaW50KGlucHV0KCdFbnRlciAxc3QgbnVtYmVyOiAnKSkKYiA9IGludChpbnB1dCgnRW50ZXIgMm5kIG51bWJlcjogJykpCgpwcmludChmJ1N1bSBvZiB7YX0gYW5kIHtifSBpcyB7c3VtKGEsIGIpfScpCnByaW50KCJTdW0gb2YgIiArIHN0cihhKSArICIgYW5kICIgKyBzdHIoYikgKyAiIGlzICIgKyBzdHIoc3VtKGEsIGIpKSkKcHJpbnQoIlN1bSBvZiAlcyBhbmQgJXMgaXMgJXMiICUgKGEsIGIsIHN1bShhLCBiKSkp