You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
394 B
36 lines
394 B
# When done, submit this entire file to the autograder.
|
|
|
|
# Part 1
|
|
|
|
def sum arr
|
|
# YOUR CODE HERE
|
|
end
|
|
|
|
def max_2_sum arr
|
|
# YOUR CODE HERE
|
|
end
|
|
|
|
def sum_to_n? arr, n
|
|
# YOUR CODE HERE
|
|
end
|
|
|
|
# Part 2
|
|
|
|
def hello(name)
|
|
# YOUR CODE HERE
|
|
end
|
|
|
|
def starts_with_consonant? s
|
|
# YOUR CODE HERE
|
|
end
|
|
|
|
def binary_multiple_of_4? s
|
|
# YOUR CODE HERE
|
|
end
|
|
|
|
# Part 3
|
|
|
|
class BookInStock
|
|
# YOUR CODE HERE
|
|
end
|