id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

sum


Write a function sum(number1, number2) that computes the sum of the two numbers and returns this value.


sum(1, 4) → 5
sum(-1, 1) → 0
sum(9, 3) → 12

...Save, Compile, Run (ctrl-enter)

def sum(number1,number2):

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Python Help

Copyright Nick Parlante 2017 - privacy