zoukankan      html  css  js  c++  java
  • python--重温helloword

    在今天下午突然燃起了对python的激情,因为之前学过,也不是太深入,现在,我要立志每天写一下python,因为我相信python在未来将会非常出色的语言;

      然后上官网下载了3.8版本的,下载的速度慢的让我烦躁.......

      安装完成后,cmd输入“python”

     啊,此时的我无比的兴奋,无比的骄傲,无比的自豪........哎?怎么打印helloword来着?

    >>> print("hello word)
      File "<stdin>", line 1
        print("hello word)
                         ^
    SyntaxError: EOL while scanning string literal

    。。。。。

    噢,我知道了,应该是这样!!!

    >>> print "hello word"
      File "<stdin>", line 1
        print "hello word"
              ^
    SyntaxError: Missing parentheses in call to 'print'. Did you mean print("hello w
    ord")?

    。。。。

    噢,我又知道了,是这样!!!

    >>> print("helloword")
    helloword
    >>>

    啊,此时的我又无比的兴奋,无比的骄傲,无比的自豪........

    每天一练!!前进!!

  • 相关阅读:
    js参数自定义
    分页插件--记录
    .net mvc接收参数为null的解决方案
    c#枚举转字典或表格
    openlayers添加弹出框
    openlayers按坐标点播放
    openlayers轨迹匀速播放
    MyEclipse配置进行Hibernate逆映射
    BIO,NIO,AIO
    Git遇到的一点错误
  • 原文地址:https://www.cnblogs.com/RorinL/p/12917717.html
Copyright © 2011-2022 走看看