这是一个用于演示循环的标准教科书示例。
这是我10年前开始学习编程时学到的第一批程序之一。
你要打印这个精确的文本:
**********
**********
**********
**********
**********
**********
**********
**********
**********
**********我是密码-高尔夫。最短答案(以字节为单位)获胜。
发布于 2016-08-04 11:19:51
++++++++++[->++++>+>+<<<]>++>[-<..........>>.<]在网上试试!
++++++++++[->++++>+>+<<<] set the tape to 40 10 10
>++> set the tape to 42 10 10
[-<..........>>.<] come on发布于 2016-08-04 09:31:41
VT*T\*T在Pyth中是10,Vab执行语句b a倍,\*是星号字符常量,乘以(*)字符串和整数重复该字符串n次。用V隐式打印意味着打印10行。
发布于 2016-08-07 19:56:03
”*x⁵Ṅ9¡到底怎么回事?
”*x⁵Ṅ9¡ - No arguments
”* - character literal, *
x - multiply (dyadic operation)
⁵ - integer literal, 10 (we have now constructed the string '**********')
Ṅ - Print & linefeed (monadic operation)
9 - integer literal, 9
¡ - Repeat n times (n is 9 as the first Ṅ is not a repeat)在在线试用上进行测试
https://codegolf.stackexchange.com/questions/88653
复制相似问题