You are constructing a simple Python program that involves working with functions and integer arithmetic, specifically addition. You want to create a function that takes two numbers as input parameters and returns the sum of the numbers as an output. Fill the blanks in the provided code to accomplish this task.
Declaring functions
Creating a function for simple addition
Report a typo
Fill in the gaps with the relevant elements
sum_numbers(a, b):
(a + b)
result = sum_numbers(5, 7)
print(result)Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.