• Guest, To prevent spam, the BrokenLens Forums are not accepting new registrations at this time.

a game

..

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
View reply.
 

Users Who Are Viewing This Thread (Total: 0, Members: 0, Guests: 0)

Back
Top