Created
November 3, 2020 11:00
-
-
Save priyankaa02/b9ca73f78f3e261fc30ffc933f052f4b to your computer and use it in GitHub Desktop.
This file contains 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
def print_tables(): | |
for x in range(1, 13): | |
for y in range(1, 13): | |
z = x * y | |
print(z, end="\t") | |
print() #creates the space after the loop | |
def main(): | |
print_tables() | |
if __name__ == '__main__': | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment