portablejim

Nested loops

Mar 23rd, 2016 (edited)
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.14 KB | None | 0 0
  1. for x in range(10):
  2.     print(" ")
  3.     print(x, "times table")
  4.     print("--------")
  5.     for y in range(10):
  6.         print(x, "x", y, "=", x*y)
Add Comment
Please, Sign In to add comment