update 完成复位等逻辑

This commit is contained in:
FrankCV2048
2024-12-04 23:42:52 +08:00
parent aa93685862
commit db283fbe71
10 changed files with 140 additions and 20 deletions

View File

@ -1,10 +1,3 @@
from enum import Enum
def keepA(a,b=1,c=2,d=3):
print(a)
print('Straight')
keepA(2)
my_list = [1, 2, 3, 4, 5]
list_slice = list(reversed(my_list[:2]))
print(list_slice) # 输出: [5, 4, 3, 2, 1]