[2ํ / ๊น์์] 10์ฐจ์ ํ์ด์ฌ ๊ณผ์ - ์์ธ์ฒ๋ฆฌ
1๋ฒ sentence = list("Hello Friend") while (len(sentence)+1): try: print(sentence.pop(0)) except Exception as e: print(e) break H e l l o F r i e n d pop from empty list 2๋ฒ try: for i in range(1, 7): result = 7 // i print(result) except ZeroDivisionError: print("Not divided by 0") finally: print("์ข
๋ฃ๋์์ต๋๋ค.") 7 3 2 1 1 1 ์ข
๋ฃ๋์์ต๋๋ค. 3๋ฒ days = ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday'] for..