1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # # µû¶óÇÏ¸ç ¹è¿ì´Â ÆÄÀ̽ã°ú µ¥ÀÌÅÍ°úÇÐ(»ý´ÉÃâÆÇ»ç 2020) # LAB 4-8 ÄÄÇ»ÅÍ¿Í ½ÂºÎÂ÷±â °ÔÀÓÀ» ¸¸µé¾îº¸ÀÚ, 110ÂÊ # import random options=['¿ÞÂÊ', 'Áß¾Ó', '¿À¸¥ÂÊ'] computer_choice = random.choice(options) user_choice = input('¾îµð¸¦ °ø°ÝÇϽðھî¿ä?(¿ÞÂÊ, Áß¾Ó, ¿À¸¥ÂÊ) : ') if computer_choice == user_choice: print('°ø°Ý¿¡ ½ÇÆÐÇϼ̽À´Ï´Ù.') else : print('ÃàÇÏÇÕ´Ï´Ù!! °ø°Ý¿¡ ¼º°øÇÏ¿´½À´Ï´Ù.') print('ÄÄÇ»ÅÍÀÇ ¼öºñÀ§Ä¡ :', computer_choice) | cs |