关于#python#的问题,请各位专家解答!

在头歌运行不出来,一直报错是什么问题


```python
源代码
t=85
#********** Begin **********#
def return_values():
if t>=90:
    print('优秀')
elif t>=80:
    print('良好')
elif t>=70:
    print('中等')
elif t>=60:
    print('及格')
else:
    print('不及格')


- 运行结果 -
Traceback (most recent call last):
  File "1.7.py", line 8, in 
    import step7
  File "/data/workspace/myshixun/step7.py", line 9
    if t>=90:
     ^
IndentationError: expected an indented block




```

缩进不正确
要么你删掉函数定义
你要定义函数,那后面的代码要放进函数里面呀,不要跟函数对齐


t=85
def return_values():
    if t>=90:
        print('优秀')
    elif t>=80:
        print('良好')
    elif t>=70:
        print('中等')
    elif t>=60:
        print('及格')
    else:
        print('不及格')

if __name__ == '__main__':
    return_values()