06.09.2021 Views

How to Think Like a Computer Scientist - Learning with Python, 2008a

How to Think Like a Computer Scientist - Learning with Python, 2008a

How to Think Like a Computer Scientist - Learning with Python, 2008a

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

68 Iteration<br />

By now you can probably guess how <strong>to</strong> print a multiplication table—by calling<br />

printMultiples repeatedly <strong>with</strong> different arguments. In fact, we can use another<br />

loop:<br />

i = 1<br />

while i

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!