Iam getting default 'except:' must be last how can i fix the error and give me the necode the explanation?

class SIException(Exception):
def init(self,length,atleast):
Exception.init(self)
self.length=length
self.atleast=atleast
try:
s=input(“Enter something:”)
if len(s)<3:
raise SIException(len(s),3)
except:
print(“Why did you do an EOF on me?”)
except EOFError:
print(“SIException:The input was of length:%d,was expecting atleast:%d” %(SIException.length,SIException.atleast))
else:
print(“No exception was raised”)