1 2 3 4 5 6 7 8 9 | # # µû¶óÇÏ¸ç ¹è¿ì´Â ÆÄÀ̽ã°ú µ¥ÀÌÅÍ°úÇÐ(»ý´ÉÃâÆÇ»ç 2020) # 2.5 º¯¼ö¸¦ »ç¿ëÇؼ ÁÁÀº Á¡ÀÌ ¹»±î, 49ÂÊ # # ÆÄÀÏÀÇ À̸§Àº bmi_hong.py¶ó°í Á¤ÇÑ´Ù. height = 1.72 weight = 78.8 bmi = weight / height**2 print(bmi) | cs |
1 2 3 4 5 6 7 8 | # # µû¶óÇÏ¸ç ¹è¿ì´Â ÆÄÀ̽ã°ú µ¥ÀÌÅÍ°úÇÐ(»ý´ÉÃâÆÇ»ç 2020) # 2.5 º¯¼ö¸¦ »ç¿ëÇؼ ÁÁÀº Á¡ÀÌ ¹»±î, 49ÂÊ # height = 1.75 weight = 71.7 bmi = weight / height**2 print(bmi) | cs |