By the way, Here is a python program I made that does this for you. I kind of slapped it together so I could have done it more effectively with something like a for loop but it works well enough:
Code:
n = 0
Done = False
while not Done:
n+=1
print("Number of comments:", n)
print("Output:" , ("." * n))
if input("Would you like to stop running the program? ") == "Yes":
Done = True
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.