Python 2.7.1 (r271:86832, Mar 20 2011, 15:40:35)
[GCC 4.4.1] on linux2
    !h - for getting help
    !l - for getting learn
                    
>>> Console open console max
Stop
Loading...

Addition

Add the values in a given array together.

Input: An array with an unknown number of elements. Each element is an integer.

Output: The sum of the integer elements

Example:

checkio([1,1]) == 2
checkio([5,5,5]) == 15
checkio([7]) == 7

4 comments...

markc
Rank31

  #
Really liking your website.  The following is, perhaps, a better description in English:

Add the values in a given array together.

Input: An array with an unknown number of elements. Each element is an integer.

Output: The sum of the integer elements
oduvan
 
Followers count8 Rank891

  #
Thank's fixed
jurka User 12 's comment has been removed by author. #  
steven User 128 's comment has been removed by author. #  

Only authorized users can reply. Login

Facebook Linkedin Twitter GoogleGroups email and gtalk FeedBurner | Help | How to help | Contact us | About us | Get Widget | Live help