NP31 团队分组
This commit is contained in:
parent
afe610bfe2
commit
210700b6dd
14
NP/NP31.py
Normal file
14
NP/NP31.py
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
# @author 轩辕龙儿
|
||||||
|
# @date 2022/10/26
|
||||||
|
# @file NP31.py
|
||||||
|
|
||||||
|
def solution():
|
||||||
|
group_list = ["Tom", "Allen", "Jane", "William", "Tony"]
|
||||||
|
print(group_list[0:2])
|
||||||
|
print(group_list[1:4])
|
||||||
|
print(group_list[3:5])
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
solution()
|
Loading…
Reference in New Issue
Block a user