Browse Source

Add 'L.py'

webturing 4 years ago
parent
commit
752c003945
1 changed files with 7 additions and 0 deletions
  1. 7 0
      L.py

+ 7 - 0
L.py

@@ -0,0 +1,7 @@
+import math
+ 
+for x in range(1, 9):
+    for y in range(0, 9):
+        z = (x*10+x)*100 + y*10+y
+        if z == int(math.sqrt(z))*int(math.sqrt(z)):
+            print(z)