Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson2-3-1_DIY1
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
87c6b9bc
authored
Dec 17, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
69024918
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
3 deletions
ad
dd
diy1.py
ss
www
ad
0 → 100644
View file @
87c6b9bc
dd
0 → 100644
View file @
87c6b9bc
lst=['a','b'.'c'.'d'.'e'.'f']
print(lst[-4:-1:2])
lst=['a','b'.'c'.'d'.'e'.'f']
print(lst[1::])
= lst[x for x in range(0,101)]
lst1 = lst[::]
\ No newline at end of file
diy1.py
View file @
87c6b9bc
player
=
input
(
"请出拳:石头"
)
# 玩家出拳
s
=
set
print
(
"玩家出拳:"
+
player
)
a
=
1
\ No newline at end of file
b
=
[
1
,
2
,
3
]
if
a
in
b
:
print
(
'z'
)
\ No newline at end of file
ss
0 → 100644
View file @
87c6b9bc
lst = [x for x in range(0,101)]
lst1 = lst[::-1]
\ No newline at end of file
www
0 → 100644
View file @
87c6b9bc
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment