马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
import time
words = input('Please input the words you want to say!:')
for item in words.split():
letterlist = []
for y in range(12,-12,-1):
list_X = []
letters = ''
for x in range(-30,30):
expression = ((x*0.05)**2+(y*0.1)**2-1)**3-(x*0.05)**2*(y*0.1)**3
if expression<=0:
letters +=item[(x-y)%len(item)]
else:
letters += ' '
list_X.append(letters)
letterlist += list_X
print('\n'.join(letterlist))
time.sleep(1.5);
|