IndentationError: unexpected unindent WHY?

后端 未结 4 1198
盖世英雄少女心
盖世英雄少女心 2021-01-01 09:10

IndentationError: unexpected unindent WHY???

#!/usr/bin/python
import sys
class Seq:
    def __init__(self, id, adnseq, colen):
        self.id     = id
             


        
4条回答
  •  一整个雨季
    2021-01-01 09:31

    @MaxPython The answer above is missing ":"

    try:
       #do something
    except:
      # print 'error/exception'
    

    def printError(e): print e

提交回复
热议问题