728x90
반응형
from os import system
from time import sleep
string = input("Input String : ")
length = len(string)
string = length * " " + string + (length - 1) * " "
print(string)
while True:
for i in range(length * 2):
print(string[i:(i + length)])
sleep(0.5)
system("cls")
728x90
반응형
'Data Structure & Algorithm' 카테고리의 다른 글
sequential test (0) | 2022.10.19 |
---|---|
[Py] sequetial sideway move 1block (0) | 2022.10.18 |
Linked List(+dummy) (0) | 2022.09.19 |
Simple Linked List(+dummy) (0) | 2022.09.19 |
Linked List (0) | 2022.09.10 |