Edit responsibly!

1
2
3
4
5
n = 20
i = 0
while i < n:
   print "-",
   i -= 1

In how many ways can you make the above program output - exactly 20 times by adding/changing at most one character?

  • Changing a space to something else is considered equivalent to adding a character.
×

Problem Loading...

Note Loading...

Set Loading...