回覆列表
  • 1 # 使用者6765375850720

    \n預設為換行,\t預設為TAB鍵.

    所以在D:\目錄下找不到ew目錄下的ext.data檔案,將其改為raw方式輸入即可。

    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

    複製程式碼 程式碼如下:

    try:

    print 1 / 0

    except ZeroDivisionError:

    print "integer division or modulo by zero"

    finally:

    print "Done"

    else:

    print "Continue Handle other part"

    報錯如下:

    D:\>python Learn.py

    File "Learn.py", line 11

    else:

    ^

    SyntaxError: invalid syntax

  • 中秋節和大豐收的關聯?
  • 銅和鋁怎麼樣才能焊接在一起?