Skip to content
Introduction to Data Science in Python
Run the hidden code cell below to import the data used in this course.
# Define a function called add_numbers that takes two parameters, num1 and num2
def add_numbers(num1, num2):
# Add the two numbers together and store the result in a variable called sum
sum = num1 + num2
# Return the sum
return sum
# Call the add_numbers function with the arguments 5 and 10 and store the result in a variable called result
result = add_numbers(5, 10)
Take Notes
Add notes about the concepts you've learned and code cells with code you want to keep.
Add your notes here
# Add your code snippets here