摘要:
N=eval(input()) up=pow(1+0.001*N,365) down=pow(1-0.001*N,365) print("{:.2f}, {:.2f}, {:.0f}".format(up,down,up/down)) 阅读全文
摘要:
阅读全文
摘要:
Name=input("请输入你的名字:") print('欢迎你',Name) 阅读全文
摘要:
m=eval(input()) n=eval(input()) a=m+n b=m*n c=m**n d=m%n e=max(m,n) print(a,b,c,d,e) 阅读全文
摘要:
print("世界,你好!") 阅读全文
摘要:
N=eval(input(" 请输入一个数:")) for i in range (5): print(pow(N,i)) 阅读全文
摘要:
name=input("请输入名字:") print(name,'我想对你说,我爱你') 阅读全文
摘要:
import turtle as T T.setup(600, 600, 200,200) T.pu() T.fd(-120) T.pensize(5) T.width(5) T.pencolor("pink") T.pd() T.fd(250) T.seth(120) T.fd(250) T.se 阅读全文
摘要:
import turtle turtle.setup(650,350,200,200) turtle.penup() turtle.pensize(1) turtle.pencolor("black") turtle.fd(100) turtle.seth(30) turtle.pendown() 阅读全文
摘要:
import turtle turtle.fillcolor("red") turtle.begin_fill() turtle.penup() turtle.goto(-60,0) turtle.pendown() for i in range(5): turtle.forward(200) tu 阅读全文