|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|


3198, 1/160 |
![]() |
![]() |
![]() |
![]() |
|
gearh0c | ||||||
|
Phthon ¿¡¼¿ä .. | ||||||
|
http://www.hackerschool.org/HS_Boards/zboard.php?AllArticle=true&no=3169 [º¹»ç]
Hit : 5320 Date : 2011/09/29 06:22
|
|||||||
| ![]() |
| |
| ´¾´¾ | python 2.7 ¿¡¼ ÀÛ¼ºÇÑ ÄÚµåÀÔ´Ï´Ù. def calc_all(*operands): opmax = len(operands) i=0 allsum=0 while i < opmax: allsum =+ operands[i] i =i + 1 return allsum print calc_all(1,2,3,4,5,6,7,8,9,10) °á·Ð : Æ÷ÀÎÅÍ È°¿ë |
2011/09/29 | |
| ´¾´¾ | indent°¡ ¾Èµé¾î°¡Á³´Âµ¥ ¾Ë¾Æ¼ ³ÖÀ¸½Ã¸®¶ó ¹ÏÀ»°Ô¿ä |
2011/09/29 | |
| ´¾´¾ | Áö±Ý ¹ß°ßÇߴµ¥ http://community.hackerschool.org/ ¿¡¼ ¸Ç ¾Æ·¡¿¡ ÀÖ´Â ÃÖ±Ù 20°³ÀÇ ´ñ±Û¿¡¼ º¸½Ã¸é °ø¹é Á¦´ë·Î µé¾î°¡ÀÖ½À´Ï´Ù |
2011/09/29 | |
| BrokenPipe | À¸¾Æ´Ï.. ¾ÆÀ̵𸦠¹Ù²Ù´Ï °©ÀÚ±â ¾Æ±î ¾Èº¸¿´´ø ¿ÀÁ¡ÀÌ º¸ÀÌ³×¿ä ¼öÁ¤µÈ ¼Ò½º def calc_all(*operands): opmax = len(operands) i=0 allsum=0 while i < opmax: allsum += operands[i] i += 1 return allsum print calc_all(1,2,3,4,5,6,7,8,9,10) |
2011/09/29 | |
| gearh0c | ¤Ð¤Ð¤Ð ¸ðµÎµé °¨»çµå¸³´Ï´Ù Á¤¸» °í¸¶¿ö¿ä ´ç½ÅµéÀº ÃÖ°í¿¡¿ä | 2011/09/30 | |
| BrokenPipe | ´¾´¾À» »èÁ¦ÇÏ°í ¸¸µç ¾ÆÀ̵𰡠ÀÌ ¾ÆÀ̵ð¶ó¼ ´ç½Å'µé' À̶ó´Â°Ç Á» ¹Ì½ºÅ׸®ÇÏÁö¸¸ Àß ÇØ°áµÇ¼Ì´Ù¸é ´ÙÇàÀ̳׿ä |
2011/09/30 | |
| gearh0c | À½..¾î...¸»À» ÀÌÇØÇÑµí ´ç½Åµé À» ´ç½ÅÀº À¸·Î ¼öÁ¤ÇϰڽÀ´Ï´Ù.. ÀúÀÇ ¾î¸®¼÷ÇÑ Á¡¿¡ »ç°ú¸¦ µå¸³´Ï´Ù ¾Æ¹«Æ° Á¤¸» ´¾´¾(BrokenPipe)´Ô Á¤¸» °¨»çµå¸³´Ï´Ù. |
2011/10/01 | |
|
|