CSC111 Debugging with Print Statements
--D. Thiebaut (talk) 09:56, 17 February 2014 (EST)
sum = 0
i = 0
while i <= 10:
if i % 2 == 0:
sum = sum + 1
else:
i = i + 1
print( "Done!" )
--D. Thiebaut (talk) 09:56, 17 February 2014 (EST)
sum = 0
i = 0
while i <= 10:
if i % 2 == 0:
sum = sum + 1
else:
i = i + 1
print( "Done!" )