Print series code not running

https://ide.geeksforgeeks.org/RhafAZqHNk
in the print series problem why my code is not running.
https://online.codingblocks.com/app/player/11915/content/54850/4804/code-challenge
question link