import os
import time
def main():
str = '大哥大哥欢迎你,欢迎你来我这里 '
while True:
print(str)
time.sleep(0.2)
str = str[1:] + str[0:1]
# for Windows use os.system('cls') instead
os.system('clear')
if __name__ == '__main__':
main()
效果图