(资料图片)
'''pythonimport timedef draw dragonboat(): boat = [ " ▄▄██▄██▄▄ ", " ▄█ █▄ ", " ████████████████", " ████▀▀▀▀▀▀▀████ ", " ██████ ██ ██████", " ██████ ██ ██████", " ██████ ██ ██████", " ████ ███ ████ ", " ███▄▄▄▄▄▄▄███ ", " ████████████ " ] for row in boat: print(row) time.sleep(0.2) print("\龙舟已经划过终点!\n") def celebrate dragonboat_festival(): print("准备!") time.sleep(1) print("3...2...1...龙舟比赛开始!") time.sleep(1) for _ in range(3) draw_dragonboat() celebrate_dragonboat_festival()
'''