```ruby
# Add it up!

# Complete each step below according to the challenge directions and
# include it in this file. Also make sure everything that isn't code
# is commented in the file.

# I worked on this challenge [by myself, ].

# 0. total Pseudocode
# make sure all pseudocode is commented out!

# Input: array of [numbers]
# Output: sum of all the numbers (sum)
# Steps to solve the problem.
	
# define total as 0 
# take each element in the argument to the method and add them together
# return sum

# 1. total initial solution
def total(array)
	total = 0
	array.each { |arr| total += arr }
	return total
end



#array.each do |i|
 # 		sum += [i]

# 3. total refactored solution



# 4. sentence_maker pseudocode
# make sure all pseudocode is commented out!
# Input:
# Output:
# Steps to solve the problem.


# 5. sentence_maker initial solution



# 6. sentence_maker refactored solution
```

Update 4.7.2 add it up
user
```ruby
# Add it up!

# Complete each step below according to the challenge directions and
# include it in this file. Also make sure everything that isn't code
# is commented in the file.

# I worked on this challenge with Jamie.

# 0. total Pseudocode
# make sure all pseudocode is commented out!
	
# define total as 0 
# take each element in the argument to the method and add them together
# return sum

# 1. total initial solution

def total(array)
	total = 0
	array.each { |i| total += i }
	return total
end


# 3. total refactored solution



# 4. sentence_maker pseudocode
# make sure all pseudocode is commented out!
# Input:
# Output:
# Steps to solve the problem.


# 5. sentence_maker initial solution



# 6. sentence_maker refactored solution
```
assistant