Answer:
The python program is given with appropriate comments
Explanation:
#Implementation of printStars function
def printStars(n):
 #check if n is greater than 0
 if n>0:
   for i in range(n):
     print ('*', end="")
#Declare starCount and initialize some negative integer
starCount = -8
if starCount>0:
  print ('*', end="")
  printStars(starCount-1)