for i in range(7,99):
print(i)
Suppose I just want it to print every other number (that is, just the odd numbers) starting with 7. How would the code be changed?




Posted 14 November 2012 - 11:27 AM
for i in range(7,99):
print(i)
Posted 14 November 2012 - 11:30 AM
Quote
Posted 15 November 2012 - 09:28 AM
jon.kiparsky, on 14 November 2012 - 11:30 AM, said:
Quote
Posted 15 November 2012 - 09:34 AM
|
|
Query failed: connection to localhost:3312 failed (errno=111, msg=Connection refused).
|
