Is it too basic or have I made a mistake?https://code.sololearn.com/cDsle46bmexV/?ref=app
Ah, don't pay attention to likes, they're always chaotic by nature and they only reflect popularity, not quality
What are you confused about?
And, indeed, it's way too simple. Forget the likes and focus in learning.
Admin Do not spam here
Just to nitpick, you say "any number" but don't handle floats >_>
You are qustion is right but maybe they want from you to use sqr function
It's because I just thought it was not good as it was not getting any likes so it might be lacking something