几天前的修改
This commit is contained in:
parent
d5a0bfdd89
commit
1597b28229
6
2023_0704_code01.py
Normal file
6
2023_0704_code01.py
Normal file
@ -0,0 +1,6 @@
|
||||
grade = [98,99,97,100,96,94,89,95,100]
|
||||
print(grade)
|
||||
grade.sort()
|
||||
print(grade)
|
||||
grade.sort(reverse=True)
|
||||
print(grade)
|
16
main.py
Normal file
16
main.py
Normal file
@ -0,0 +1,16 @@
|
||||
# 这是一个示例 Python 脚本。
|
||||
|
||||
# 按 Shift+F10 执行或将其替换为您的代码。
|
||||
# 按 双击 Shift 在所有地方搜索类、文件、工具窗口、操作和设置。
|
||||
|
||||
|
||||
def print_hi(name):
|
||||
# 在下面的代码行中使用断点来调试脚本。
|
||||
print(f'Hi, {name}') # 按 Ctrl+F8 切换断点。
|
||||
|
||||
|
||||
# 按间距中的绿色按钮以运行脚本。
|
||||
if __name__ == '__main__':
|
||||
print_hi('PyCharm')
|
||||
|
||||
# 访问 https://www.jetbrains.com/help/pycharm/ 获取 PyCharm 帮助
|
Loading…
x
Reference in New Issue
Block a user