Print Hello Five Times
Beginner
Welcome to the fun world of code challenges! Today, we have a simple yet exciting task for you. Imagine we want to write a function that returns a list with the word "Hello" repeated five times. This is a great way to familiarize yourself with loops and lists.
Your task is to create a function repeat_hello_five_times that returns a list containing the word "Hello" exactly five times.
Example
Here's how your function should work:
repeat_hello_five_times()
This should return:
['Hello', 'Hello', 'Hello', 'Hello', 'Hello']
Remember, you just have to return a list, not print anything!
Have fun coding and let the magic of looping and lists begin!
Inputs
Expected Output
["Hello", "Hello", "Hello", "Hello", "Hello"]Actual Output