Browse Source

Homework.3

Marko 2 years ago
parent
commit
1cbade230a
1 changed files with 38 additions and 6 deletions
  1. 38 6
      file.js

+ 38 - 6
file.js

@@ -121,15 +121,47 @@ c = c + '#'}
 c = c + ' '}}
 
 
-// numbers(????)<
-
-let x = '';
-for(i=0;i<10;i++){
-    x = x + '0123456789\n'
+// numbers
+
+let x = ""
+for (let i = 0; i < 10; i++){
+    x = x + "\n" 
+    for (let i = 0; i < 1; i++){
+        x = x + 0
+        for (let i = 0; i < 1; i++){
+            x = x + 1
+            for (let i = 0; i < 1; i++){
+                x = x + 2
+                for (let i = 0; i < 1; i++){
+                    x = x + 3
+                    for (let i = 0; i < 1; i++){
+                        x = x + 4
+                        for (let i = 0; i < 1; i++){
+                            x = x + 5
+                            for (let i = 0; i < 1; i++){
+                                x = x + 6
+                                for (let i = 0; i < 1; i++){
+                                    x = x + 7
+                                    for (let i = 0; i < 1; i++){
+                                        x = x + 8
+                                        for (let i = 0; i < 1; i++){
+                                            x = x + 9
+                                            
+                                        }  
+                                    }  
+                                }  
+                            }  
+                        } 
+                    } 
+                }  
+            } 
+        }
+    }
+    
 }
 console.log(x)
 
-// chess(??????????)
+// chess(??????????)<
 
 // cubes(?????????)