We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f64d31a commit c90151aCopy full SHA for c90151a
archive/j/janet/baklava.janet
@@ -0,0 +1,6 @@
1
+(for n -10 11
2
+ (let [num_spaces (math/abs n)
3
+ num_stars (- 21 (* 2 num_spaces))]
4
+ (print (string/repeat " " num_spaces) (string/repeat "*" num_stars))
5
+ )
6
+)
0 commit comments