1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | # # µû¶óÇÏ¸ç ¹è¿ì´Â ÆÄÀ̽ã°ú µ¥ÀÌÅÍ°úÇÐ(»ý´ÉÃâÆÇ»ç 2020) # 4.6 if-else ¹®À¸·Î ´Ù¾çÇÑ Äڵ带 ÀÛ¼ºÇغ¸ÀÚ , 97ÂÊ # # 1 score = int(input("¼ºÀûÀ» ÀÔ·ÂÇϽÿÀ: ")) if score >= 60: print("ÇÕ°ÝÀÔ´Ï´Ù.") else: print("ºÒÇÕ°ÝÀÔ´Ï´Ù.") # 2 num = int(input("¾çÀÇ Á¤¼ö¸¦ ÀÔ·ÂÇϽÿÀ: ")) if num % 2 == 0: print("¦¼öÀÔ´Ï´Ù.") else: print("Ȧ¼öÀÔ´Ï´Ù.") # 3 num = int(input("Á¤¼ö¸¦ ÀÔ·ÂÇϽÿÀ: ")) if num < 0: print("À½¼öÀÔ´Ï´Ù.") else: print("¾ç¼öÀÔ´Ï´Ù.") if num % 2 == 0 : print("¦¼öÀÔ´Ï´Ù.") else: print("Ȧ¼öÀÔ´Ï´Ù.") | cs |