def sum(a, b, c): return (a + b + c) a = int(input('Enter 1st number: ')) b = int(input('Enter 2nd number: ')) c = int(input('Enter 3rd number: ')) print(f'Sum of {a} and {b} and {c} is {sum(a, b, c)}')