Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
pygame_lesson7_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
235b93f3
authored
Nov 06, 2022
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
c14c1306
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
航空公司.py
航空公司.py
View file @
235b93f3
'''wh
ile True:
'''wh
ile True:
...
@@ -4,14 +4,14 @@
...
@@ -4,14 +4,14 @@
if b>=60 and b<=203:
if b>=60 and b<=203:
print('可以托运')
print('可以托运')
else:
else:
print('不可以托运')
'''
print('不可以托运')
'''
a=input('请输入一串中文:')
a=input('请输入一串中文:')
b=0
b=0
for i in a:
for i in a:
if i=='。' or i=='?' or i=='!':
if i=='。' or i=='?' or i=='!':
b+=1
b+=1
print('这段话中共有',b,'句话')'''
print('这段话中共有',b,'句话')'''
'''
from turtle import *
from
turtle
import
*
pencolor
(
'blue'
)
pencolor
(
'blue'
)
pensize
(
10
)
pensize
(
10
)
fillcolor
(
'red'
)
fillcolor
(
'red'
)
...
@@ -20,8 +20,8 @@ for i in range(5):
...
@@ -20,8 +20,8 @@ for i in range(5):
forward
(
100
)
forward
(
100
)
right
(
144
)
right
(
144
)
end_fill
()
end_fill
()
done()
'''
done
()
'''
from turtle import *
from
turtle
import
*
from
math
import
*
from
math
import
*
fillcolor
(
'red'
)
fillcolor
(
'red'
)
forward
(
100
)
forward
(
100
)
...
@@ -37,7 +37,7 @@ left(90)
...
@@ -37,7 +37,7 @@ left(90)
forward
(
sqrt
(
30000
))
forward
(
sqrt
(
30000
))
hideturtle
()
hideturtle
()
done
()
done
()
print(30000/175)
'''
print(30000/175)
a=0
a=0
b=0
b=0
c=0
c=0
...
...
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