Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson8-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
e3bc7b8c
authored
2 years ago
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
653049ef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
0 deletions
66666666.py
66666666.py
0 → 100644
View file @
e3bc7b8c
# n=int(input('请输入体重:'))
# m=float(input('请输入身高:'))
# BMI=n/(m*m)
# if BMI>=28:
# print('肥胖')
# elif 24<=BMI<=27.9:
# print('过重')
# elif 18.5<=BMI<=23.9:
# print('正常')
# else:
# print('偏瘦')
# num=99
# pnum=int(input("玩家输入的数字:"))
# if pnum==num:
# print("sfsf")
# elif pnum>num:
# print('dfs')
# else:
# print('gsgd')
# key='a'
# for key in 'good':
# if key=='d':
# print(key)
# for i in range(1,101,2):
# print(i)
for
j
in
range
(
1
,
10
):
for
i
in
range
(
1
,
j
+
1
):
print
(
i
,
'*'
,
j
,
'='
,
i
*
j
,
end
=
'
\t
'
)
print
(
' '
)
\ No newline at end of file
This diff is collapsed.
Click to expand it.
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