ソースコード
#coding:utf-8
#object string 文字列オブジェクト str
import time
import os
os.system("clear")
hello="hello wolrd!"
print(type(hello),hello)
input("次へ")
str1=""
a="ヤサイマシアブラマシカラメマシマシニンニクスクナメ"
print(type(a),a)
b="天から役目なしに降ろされたものは一つも無い"
print(type(b),b)
c="""
. (\__/)
(`•.• )づ__/)
(つ /( •.• )
しーJ (nnノ)
"""
str1=""
for x in a:
str1 += x
print("\r"+str1,end="")
time.sleep(0.3)
print("\n")
for x in b:
print(x)
time.sleep(0.3)
print("\n")
os.system("clear")
str = ""
for x in c:
str += x
print("\r\033[11A"+str,end="")
time.sleep(0.3)
print("\n")