Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson2-5_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
f414478f
authored
Jan 27, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
d5aa4914
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
10 deletions
jia
加法运算.py
jia
View file @
f414478f
a=1
for b in range(1,10):
print(a,"x",b,"=",a*b,end=" ")
加法运算.py
View file @
f414478f
A
=
input
(
"请输入第一个加数:"
)
A
=
int
(
input
(
"请输入年份:"
))
A
=
input
(
"请输入第一个加数:"
)
B
=
input
(
"请输入第二个加数:"
)
C
=
int
(
A
)
+
int
(
B
)
print
(
A
+
"+"
+
B
+
"="
+
str
(
C
))
\ No newline at end of file
A
=
int
(
input
(
"请输入年份:"
))
if
A
%
4
==
0
:
print
(
"闰年"
)
else
:
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