ソースコード
#codin:utf-8
#object string
import time
import os
os.system("clear")
hello="hello world!"
print(type(hello),hello)
input("next")
a="Whatever you do, do it well"
b = '''
_____ ___ __ ____ ___ _____
| _ \ / _ \| | |_ _/ ___| ____|
| |_) | | | | | | | | | _|
| __/| |_| | |___ | | |___| |___
|_| \___/|_____|___\____|_____|
'''
c ="""
_____________________
/ . . (<$$$$$$>#####<::::::>)
. . . _/~~~~~~~~~~~~~~~~~~~~~~~~~\_ . . .
.( . . /~ ~\ . . .
( . . .~ ~. . )
()\/_____ _____\/() . . ).
( .-'' ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``-. ...
. . . .-~ __________________ ~-. . /
. ..`~~/~~~~~~~~~~~~TTTTTTTTTTTTTTTTTTTT~~~~~~~~~~~~\~~' . ) .
. .| | | #### #### || | | | [] | | | || #### #### | | | .
( ;__\|___________|++++++++++++++++++|___________|/__;.) .
. (~~====___________________________________====~~~)
( . .. \------_____________[ POLICE ]__________-------/ ... . )
. | || ~~~~~~~~ || |
"""
print(a)
print(b)
print(c)
for x in a:
print(x)
time.sleep(0.3)
print("\n")
str1=""
for x in a:
str1 += x
print("\r"+str1,end="")
time.sleep(0.3)
print("\n")
os.system("clear")
str = ""
for x in b:
str += x
print("\r\033[5A"+str,end="")
time.sleep(0.01)
print("\n")
os.system("clear")
str = ""
for x in c:
str += x
print("\r\033[19A"+str,end="")
time.sleep(0.03)
print("\n")