Commit 8a4c0fea by BellCodeEditor

auto save

parent f6973583
Showing with 18 additions and 1 deletions
str='qwerwrthyj'
print(str[0:5].upper())
print(round(0.1+0.2,1)==0.3)
a=10
b=30
print(a/b)
a = '[[1,2], [3,4], [5,6], [7,8], [9,0]]'
b = eval(a)
print(b)
a=8//2 #向下取整
print(a)
import turtle
p=turtle.Pen()
p.fillcolor()
str1='3.5'
print(int(str1))
\ No newline at end of file
...@@ -3,7 +3,7 @@ import turtle ...@@ -3,7 +3,7 @@ import turtle
pen=turtle.Pen() pen=turtle.Pen()
screen=turtle.Screen() screen=turtle.Screen()
pen.speed(0) pen.speed(5)
pen.hideturtle() pen.hideturtle()
screen.bgcolor('black') screen.bgcolor('black')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment