Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想得到Hy!
在 Hylang 中,我如何执行简单的 Python 循环:
for i in range(5): print(i)
本教程提供了以下示例:
(for [x [1 2 3]] (print x)) ; => 1 2 3
更改变量名,并使用range列表代替,我们得到:
range
(for [i (range 5)] (print i))