add missed-condition pattern 01.01.03

This commit is contained in:
Eric Douglas 2014-05-28 10:42:20 -03:00
parent d7ebe7c4c7
commit 6add68fa95

View File

@ -167,3 +167,10 @@ print merge(array1, array2)
i = 0
while i < n:
print(i)
# The missed-condition pattern (never end)
i = n
while i > 0:
print(i)
i += 1