I was doing a simple test to get used with HackerRank. I was coding in Python 3.
The task was:
Write a function that takes as input an integer n and gives as outpu