Print 1 to 10

Beginner

Welcome to the magical world of coding! Today, we're going to create a tiny helper function called numbers_1_to_10. This magical function will return a list of numbers from 1 to 10. Imagine your code is a tiny train that starts at 1 and ends at 10. Your job is to set the right path (a list) for your train (function) to follow. So, let's get your coding train rolling smoothly! 🚂

Task:

Implement the function numbers_1_to_10 which returns a list containing numbers from 1 to 10.

Example:

Here's how your function should behave:

numbers_1_to_10() # Output: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]

Your train of numbers is ready to leave the station. Are you ready to make some magic? 🪄

Geek
Inputs

Expected Output
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
Actual Output
Print 1 to 10 [beginner] | Coding for Kids