Exercise 1: Create an Array
Practice creating an array.
We'll cover the following
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
Create a free account to access the full course.
By signing up, you agree to Educative's Terms of Service and Privacy Policy