Varonis Systems interview question

python exercise, writing a recursive function, basic programming ability check