Discuss / Python / 习题打卡（为啥我这个总显示INTERNAL_SERVER_ERROR）

### 习题打卡（为啥我这个总显示INTERNAL_SERVER_ERROR）

Topic source

#### 臭屁皮蛋奶昔

#1 Created at ... [Delete] [Delete and Lock User]

class Student(object):

def __init__(self, name, score):

self.name = name

self.score = score

if self.score<80 and self.score >= 60:

return 'B'

elif self.score >= 80:

return 'A'

elif self.score>=0 and self.score<60:

return 'C'

else:

raise('ValueError')

#### 臭屁皮蛋奶昔

#2 Created at ... [Delete] [Delete and Lock User]

class Student(object):

def __init__(self, name, score):

self.name = name

self.score = score

if self.score<80 and self.score >= 60:

return 'B'

elif self.score >= 80:

return 'A'

elif self.score>=0 and self.score<60:

return 'C'

else:

raise ValueError('None')

#### 臭屁皮蛋奶昔

#3 Created at ... [Delete] [Delete and Lock User]

class Student(object):

def __init__(self, name, score):

self.name = name

self.score = score

if self.score<80 and self.score >= 60:

return 'B'

elif self.score >= 80 and self.score<=100:

return 'A'

elif self.score>=0 and self.score<60:

return 'C'

else:

raise ValueError('None')

• 1