1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # # µû¶óÇÏ¸ç ¹è¿ì´Â ÆÄÀ̽ã°ú µ¥ÀÌÅÍ°úÇÐ(»ý´ÉÃâÆÇ»ç 2020) # 8.6 ÁýÇÕÀÇ Ç׸ñ¿¡ Á¢±ÙÇÏ´Â ¿¬»ê, 207ÂÊ # numbers = {2, 1, 3} if 1 in numbers: # 1À̶ó´Â Ç׸ñÀÌ numbers ÁýÇÕ¿¡ Àִ°¡ °Ë»ç print("ÁýÇÕ ¾È¿¡ 1ÀÌ ÀÖ½À´Ï´Ù.") numbers = {2, 1, 3} for x in numbers: print(x, end=" ") for x in sorted(numbers): print(x, end=" ") | cs |