1 2 3 4 5 6 7 8 9 10 11 12 | # # µû¶óÇÏ¸ç ¹è¿ì´Â ÆÄÀ̽ã°ú µ¥ÀÌÅÍ°úÇÐ(»ý´ÉÃâÆÇ»ç 2020) # 6.9 ÇÔ¼ö ¾È¿¡¼ Àü¿ªº¯¼ö »ç¿ëÇϱâ : global Å°¿öµå, 156ÂÊ # def calculate_area(radius): area = 3.14 * radius ** 2 return area area = 0 r = float(input("¿øÀÇ ¹ÝÁö¸§: ")) area = calculate_area(r) print(area) | cs |