What does it mean for a function to have linear runtime?
You did not use very many advanced computer programming concepts in your code.
The difficulty level your code is written at is not that high.
The amount of time it takes the function to complete grows linearly as the input size increases.
It will take your program less than half a second to run.