Exercise 1: Create an Array

Practice creating an array.

Problem statement

Create and return an Array containing three input strings, input_string_1, input_string_2, and input_string_3.

Example

input_string_1 = "Hello"
input_string_2 = "Howdy"
input_string_3 = "Hey"

result = ["Hello", "Howdy", "Hey"]

Try it yourself

Press + to interact
def new_array(input_string_1, input_string_2, input_string_3)
result = ""
#Start your code here
return result
end