사용자:두번째구멍/Still Alive
백괴사전, 내용 없는 백과사전
| 사문 편가 |
이 문서는 사용자 문서이지만, 문서의 주인 이외의 사용자도 편집이 가능한 문서입니다. |
#! usr/bin/env python #-*- coding=utf-8 -*- #----------------import--------------- import time, sys #-----------------def----------------- def drawline(times, _chr): print times * _chr def typingeffect(stringin, time=0.1): for a in stringin: sys.stdout.write(a) sys.stdout.flush() time.sleep(time) def _print(text, sleep=2.7): print text time.sleep(sleep) #----------------start---------------- drawline(60,"-") typingeffect("FORM-29827281-12\n \n2MB President Report\n\n\n\n", 0.15) time.sleep(3) #----------------가사---------------- _print("This was a triumph.", 3.4) _print("I'm making a note here: HUGE SUCCESS.", 3.7) _print("It's hard to overstate my satisfaction.", 7) _print("The Grand National Party-Hannara", 4.55) _print("We do what we must because we can.", 4.55) _print("For the good of the rich of us.", 3) _print("Except the ones who are oppositions.",2.7) _print("But there's no sense crying over every mistake.", 3) _print("You just keep on trying till you run out of kolleongtang.", 4)