while 的用法只要注意條件式,成立的條件即可否則會造成無窮迴圈以下用簡單的範例說明while用法input='y'while (input == 'y'): print "
yuanann.pixnet.net