summaryrefslogtreecommitdiff
path: root/comp/work/5/567.py
diff options
context:
space:
mode:
Diffstat (limited to 'comp/work/5/567.py')
-rwxr-xr-xcomp/work/5/567.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/comp/work/5/567.py b/comp/work/5/567.py
new file mode 100755
index 0000000..691d278
--- /dev/null
+++ b/comp/work/5/567.py
@@ -0,0 +1,10 @@
+import sys
+
+for x in range(1,11):
+ for i in range(x, (x*10)+1):
+ if i % x == 0:
+ if i >= 10:
+ sys.stdout.write(str(i)+" ")
+ else:
+ sys.stdout.write(str(i)+" ")
+ print("")