Commit b7743c1b by BellCodeEditor

auto save

parent 6b1fbc15
a = int(input('请输入一个数'))
b = int(input('请输入一个数'))
c = int(input('请输入一个数字(1或-1)'))
d = (a+b+13*c)/2
print('孩子未来的身高为:',d)
\ No newline at end of file
import turtle
turtle.goto(0,0)
turtle.circle(40)
turtle.circle(-40)
turtle.penup()
turtle.goto(80,0)
turtle.pendown()
turtle.circle(40)
turtle.circle(-40)
turtle.done()
\ No newline at end of file
print(7//2)
\ No newline at end of file
import wordcloud
\ No newline at end of file
import wordcloud
with open('python二级考试大纲.txt',encoding='utf-8')as f:
text = f.read()
w = wordcloud.WordCloud(background_color='white',font_path='SimHei.ttf')
w.generate(text)
w.to_file('mycloud.png')
\ No newline at end of file
mycloud.png

74.7 KB

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