ãã£ã¨Pythonã®ã¯ãã¼ã¸ã£ã®ä»çµã¿ãå°ãã¯ç解ãã件 ã§ãæ¸ æ°´å·å çãã¯ãã¼ã¸ã£ãè¿ãã¨ãå®è¡ä¸ã®ãã¬ã¼ã ãªãã¸ã§ã¯ããä¿åãããã®ãï¼ã¨ããçåãåããã¦ããã çµè«ããè¨ãã¨ããã¬ã¼ã ãªãã¸ã§ã¯ãã¯ä¿åããããã¯ãã¼ã¸ã£ãå¿ è¦ã¨ãããªãã¸ã§ã¯ãã ããæ®ãããããã®è¾ºã®ä»çµã¿ããç°¡åã«è§£èª¬ãã¦ã¿ãããå°ã以ä¸ã®è§£èª¬ã¯Python2ã®ãã®ã§ãããPython3ã«ã¤ãã¦ã¯æªèª¿æ»ã§ããã ä¾ã¨ãã¦ããããªé¢æ°ãèãã¦ã¿ããã def func(): a = 100 b = 200 c = 300 def func2(): return a, b a = 400 return func2 ãã®ä¾ã§ã¯ãfunc2 㯠func ã®ãã¼ã«ã«å¤æ° a 㨠b ãåç §ããã¯ãã¼ã¸ã£ã§ãããå®è¡ããã¨ã(400, 200) ãè¿ãã ãã¦ãé¢æ°ãå®è¡ä¸ããã®ãã¼ã«ã«å¤æ°ã¯ "ã»ã«"(cell)ã¨ãããª
{{#tags}}- {{label}}
{{/tags}}