Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson11_2
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
b12eb300
authored
Jun 19, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
aef2534e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
24 deletions
func.py
func.py
View file @
b12eb300
while
True
:
def
add
(
x
,
y
)
try
:
z
=
x
+
v
int
(
input
(
"今年几岁拉?"
))
print
(
";"
z
)
except
:
return
z
print
(
"输录zs"
)
add
(
1
,
2
)
continue
n
=
2
+
add
(
1
,
2
)
else
:
print
()
elif
yeasold
==
0
\ No newline at end of file
if
yeasold
<
18
:
print
(
"不可以喝9"
)
continue
else
:
print
(
"你以年满18,可以喝9了"
)
continue
print
(
"没了"
)
\ No newline at end of file
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