程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
您现在的位置: 程式師世界 >> 編程語言 >  >> 更多編程語言 >> Python

Spring Festival 12 rings - Python version

編輯:Python

Spring Festival 12 ring ----Python edition


New year's release of the wandering earth , Everyone should have seen , Li 11's Spring Festival 12 It also has a profound impact on everyone , Look at someone else's C++ edition 、JAVA Chinese New Year in Chinese version 12 ring , Studying recently Python, I will have a simple spring festival 12 ring , No joy, no spray. , thank you .

#coding=utf-8
from time import sleep
# Loader
print("==================== Start loading spring festival 12 Sound source program ====================")
print(" Loading progress :",end="")
for i in range(0,100000):
if i%10000 == 0:
sleep(2)
print("===",end="")
print("100%")
# start-up
sleep(2)
print(" Program loading complete , Start the engine ...")
sleep(1)
print(" Hardware system self test starts ...")
sleep(1)
print(" The thimble system self-test starts ...")
sleep(1)
print(" Start the engine ...")
for x in range(0,100000):
if i%10000 == 0:
sleep(2)
print("===",end="")
print("100%")
print(" Engine engine start complete ")
for y in range(1,120000):
if y%10000 == 0:
sleep(2)
print(" Biu!")
print(" || ||")
print(" || ||")
print(" || ||")
print(" || ||")
print(" || ||")
print(" || ||")
print(" || ||")
print(" || ||")
print(" || ||")
print(" || ||")
print(" // \\\\")
print(" // \\\\ ")
print(" // \\\\ ")
print(" ======================================== ")
print(" || || ")
print(" || Sulawesi 3 Steering engine No.1 || ")
print(" || || ")
print(" ======================================== ")

The rendering of execution : The effect of the screenshot is not very good , I'm sorry .


  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式師世界 All Rights Reserved