@flyboy1995
2016-09-26T05:05:51.000000Z
字数 1165
阅读 50
import time
import os
for i in range(0,40):
print(i*" "+" ######## ######## ######## ######## # # ")
print(i*" "+" # # # # # # # # ")
print(i*" "+" # # # # # # # # ")
print(i*" "+" # ######## ######## ######## # ")
print(i*" "+" # # # # # # # # ")
print(i*" "+" # # # # # # # # ")
print(i*" "+" #### ######## # # # # # ")
time.sleep(0.1)
i = os.system('cls')
import time
import os
os.system('cls')
print("This is a rocket")
time.sleep(1)
os.system('cls')
a01=" # "
a02=" # # "
a03=" # # "
a04=" # # "
a05=" # # # # # # # # "
a06=" # # "
a07=" # # "
a08=" # # "
a09=" # # "
a10=" # # "
a11=" # # # # # # # # "
a12=" # # # # # # "
a13=" # # # # # # "
a=[a01,a02,a03,a04,a05,a06,a07,a08,a09,a10,a11,a12,a13]
b01=" "
b02="# "
b03=" # "
b04=" # "
b05="# # ################### "
b06=" # # "
b07="# # # # # "
b08=" # # "
b09="# # # # # "
b10=" # # "
b11="# # # # # "
b12=" # # "
b13="# # #################### "
b14=" # "
b15=" # "
b16="# "
b17=" "
b=[b01,b02,b03,b04,b05,b06,b07,b08,b09,b10,b11,b12,b13,b14,b15,b16,b17]
for i in a:
print(i)
time.sleep(0.5)
i=os.system('cls')
for i in b:
print(i)
time.sleep(0.5)
i=os.system('cls')
a.reverse()
for i in a:
print(i)
time.sleep(0.5)
i=os.system('cls')
for i in b:
i=i[::-1]
print(i)
time.sleep(0.5)
i=os.system('cls')
感谢张博奇同学提供的思路,之前他的程序有点小问题,图像不能转到270度,讨论之后,我们分别用了不同的方法实现了让图片旋转270度