Created
September 23, 2017 07:05
-
-
Save izmailoff/9bd447f19a5a01cc04056c8e88bb7462 to your computer and use it in GitHub Desktop.
Prints multiplication table (for my kid)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
print("Multiplication table") | |
for a in range(0, 11): | |
print("=============") | |
for b in range(0, 11): | |
print(str(a) + " x " + str(b) + " = " + str(a * b)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example:
./print_multiplication_table.py