1 2 3 4 5 6 7 8 9 10 11 12 13 | # # µû¶óÇÏ¸ç ¹è¿ì´Â ÆÄÀ̽ã°ú µ¥ÀÌÅÍ°úÇÐ(»ý´ÉÃâÆÇ»ç 2020) # LAB 4-5 ·£´ý ÇÔ¼ö·Î µ¿Àü ´øÁö±â °ÔÀÓÀ» ¸¸µéÀÚ, 105ÂÊ # import random print("µ¿Àü ´øÁö±â °ÔÀÓÀ» ½ÃÀÛÇÕ´Ï´Ù.") coin = random.randrange(2) # randrange(2)´Â 0 ¶Ç´Â 1À» ¹ÝȯÇÔ if coin == 0: print("¾Õ¸éÀÔ´Ï´Ù.") else: print("µÞ¸éÀÔ´Ï´Ù.") print("°ÔÀÓÀÌ Á¾·áµÇ¾ú½À´Ï´Ù.") | cs |