Square Spell (Functions)
Write a function square(n) that returns n n, then read n and print square(n).
Input: One integer (|n| ≤ 10^9).
Output: n squared.
Difficulty: Easy. Write your answer in the browser editor, run the examples, then submit it against hidden tests. Python and JavaScript are free; other languages are part of licode Club.
Hint
- Use a 64-bit integer type in typed languages.