Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson4_6
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
838757c9
authored
Jul 30, 2022
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
b810c294
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
89 additions
and
0 deletions
yy.py
yy.py
0 → 100644
View file @
838757c9
'''tup1 = ('苏炳添', '谷爱凌', '北京冬奥会', '2022')
tup2 = (201, 8, 4, 21, 155, 255, 22 )
print (tup1[-1::-2],sum(tup2))'''
'''for i in range(1,5,2):
print(i)'''
'''a = 2
b = 0
print(".join([a,b,a,a])")'''
'''chengyu = {'四字成语':'杨柳依依', '三字成语':'风马牛', '六字成语':'一动不如一静', '四字成语':'百里挑一'}
print(chengyu)'''
'''i = 10
while i:
print(i)
i = i-1'''
'''d={'语文':96,'数学':100,'英语':100,'科学':99}
for x in d:
print(x,end=' ')'''
'''s1='student'
s2='school'
s3=s1+s2
print(s3[5:9])'''
'''sum=0
for i in range(1,15,2):
sum=sum+i
print(sum,i)'''
'''a=0
while a<10:
a+=0.5
print(a,end=" ")'''
'''s=0
for i in range(10):
if i
%2
==0:
s=s+i'''
'''a='7'
print(a==7)'''
'''a= int(input("请输入一个两位数"))
b=a//10
c=a
%10
print(c*10+b)'''
#print(13 + 6 / 2 == 16)
'''import turtle
turtle.color('red')
turtle.penup()
turtle.circle(50)
turtle.pendown()'''
#print("春,夏。秋,冬。")
#print('I\'m ok. ')
import
turtle
turtle
.
color
(
"yellow"
)
turtle
.
dot
(
300
)
turtle
.
forward
(
150
)
turtle
.
color
(
"white"
)
turtle
.
dot
(
150
)
turtle
.
done
()
\ 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