Explore how the pattern changes. Try changing the numbers: click on any number and drag to right or left

for stars in range(, , ):
   for _ in range((, stars+1, ):
      print("*", end='')
   print('')
Output: