summaryrefslogtreecommitdiff
path: root/comp/work/21/timestables.py
diff options
context:
space:
mode:
authorstandenboy <standenboy@StandenboyLAP.lan>2024-01-25 10:57:10 +0000
committerstandenboy <standenboy@StandenboyLAP.lan>2024-01-25 10:57:10 +0000
commiteb1a5582181bf3188f30d665a295321d36bdc795 (patch)
tree01c10676436a51a03fa53519fe8572f5d31abb1c /comp/work/21/timestables.py
parent9e83a3046472e598be3f5a9b7d104f97a97ff36a (diff)
did the cover work
Diffstat (limited to 'comp/work/21/timestables.py')
-rw-r--r--comp/work/21/timestables.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/comp/work/21/timestables.py b/comp/work/21/timestables.py
new file mode 100644
index 0000000..0e4c07e
--- /dev/null
+++ b/comp/work/21/timestables.py
@@ -0,0 +1,10 @@
+for i in range(1,12):
+ for j in range(1,12):
+ num = i * j
+ if num < 10:
+ print(f"00{num} ", end="")
+ elif num < 100:
+ print(f"0{num} ", end="")
+ else:
+ print(f"{num} ", end="")
+ print()