Skip to content

Instantly share code, notes, and snippets.

@ultrakain
Created March 31, 2017 11:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ultrakain/d7a27f516e9d14b47312c35e349dbb65 to your computer and use it in GitHub Desktop.
Save ultrakain/d7a27f516e9d14b47312c35e349dbb65 to your computer and use it in GitHub Desktop.
python multiply
x_range = range(2, 10)
y_range = range(1, 10)
for x in x_range:
for y in y_range:
print('%d X %d = %d' % (x, y, x * y))
print('*' * 20)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment