1 2 3 4 5 6 7 8 | # # µû¶óÇÏ¸ç ¹è¿ì´Â ÆÄÀ̽ã°ú µ¥ÀÌÅÍ°úÇÐ(»ý´ÉÃâÆÇ»ç 2020) # LAB 2-2 ÇÇÀÚÀÇ ¸éÀûÀ» °è»êÇغ¸ÀÚ, 50ÂÊ # radius = 20 area = 3.14 * radius**2 circumference = 2 * 3.14 * radius print('ÇÇÀÚ ¸éÀûÀº', area, 'µÑ·¹´Â',circumference) | cs |
1 2 3 4 5 6 7 8 | # # µû¶óÇÏ¸ç ¹è¿ì´Â ÆÄÀ̽ã°ú µ¥ÀÌÅÍ°úÇÐ(»ý´ÉÃâÆÇ»ç 2020) # LAB 2-2 ÇÇÀÚÀÇ ¸éÀûÀ» °è»êÇغ¸ÀÚ, 50ÂÊ # radius = 30 area = 3.14 * radius**2 circumference = 2 * 3.14 * radius print('ÇÇÀÚ ¸éÀûÀº', area, 'µÑ·¹´Â',circumference) | cs |