首页  >  问答  >  正文

python - 请问您所见过的最棒的一段代码是什么?

巴扎黑巴扎黑2742 天前1037

全部回复(16)我来回复

  • 伊谢尔伦

    伊谢尔伦2017-04-17 10:58:54

    fun append ([],ys) =ys
      | append (x::xs',ys) = x ::append (xs',ys)

    回复
    0
  • 天蓬老师

    天蓬老师2017-04-17 10:58:54

    hello world

    回复
    0
  • 巴扎黑

    巴扎黑2017-04-17 10:58:54

    推荐一个java的one-liner,实现读取流里的字符

    String text = new Scanner( source ).useDelimiter("\\A").next();
    

    这里给上关于one-liner读取流内容的博客地址,有兴趣大家可以看看

    回复
    0
  • ringa_lee

    ringa_lee2017-04-17 10:58:54

    print“hello world”
    print(“hello world”)
    fmt.printf(“hello world”)
    printf("hello world")
    System.out.print("hello world")
    document.write("hello world")
    echo"hello world"
    alert('Hello, World.');

    hello world 我们学习的第一句语言 无论何种方式
    无疑是最棒的。。

    回复
    0
  • PHP中文网

    PHP中文网2017-04-17 10:58:54

    rm -rf /usr/ foo/bar

    回复
    0
  • PHP中文网

    PHP中文网2017-04-17 10:58:54

    = =这种问题,不应该出现在知乎么?为啥在segmentdefault。。。。。

    回复
    0
  • 取消回复