From 3cf3b8211df3d0342696e1b8d328b57bfc524065 Mon Sep 17 00:00:00 2001 From: gerroo Date: Sun, 28 Oct 2018 12:17:15 -0800 Subject: [PATCH] Update tables.py --- tables.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tables.py diff --git a/tables.py b/tables.py new file mode 100644 index 0000000..d39387b --- /dev/null +++ b/tables.py @@ -0,0 +1,6 @@ +import sys +a = int(input("TO -> ")) #I dont know spanish replace the thing in "" +for i in range(1,a+1): + for j in range(1,a+1): + sys.stdout.write("{}\t".format(j*i)) + sys.stdout.write('\n')