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
    >>>

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

    每天一练!!前进!!

  • 相关阅读:
    android
    需求分析
    请简述使用MediaRecorder实现录音的步骤
    AudioManager的详细内容
    ios 开发failed to chmod
    崩溃block
    图片不能切割成功 调了五个小时!!!!
    collectionView itemW宽度计算不对
    只用头文件
    ping 10.13.5.233
  • 原文地址:https://www.cnblogs.com/RorinL/p/12917717.html
Copyright © 2011-2022 走看看