Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson10-5
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
9a7288da
authored
Sep 17, 2022
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
46c3ecaa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
DAY.py
DAY.py
0 → 100644
View file @
9a7288da
# 创建一个变量:请问您叫什么名字?input()
name
=
input
(
"请问您叫什么名字?"
)
# sex=input("请问什么性别是?")
# if sex=="男":
# print("欢迎光临"+name+"先生")
# else:
# print("欢迎光临"+name+"女士")
age
=
input
(
"请问您今年几岁"
)
if
int
(
age
)
>=
12
:
print
(
"那你是中小学生"
)
else
:
prin
(
"那你是小学生"
)
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