å¤æ¥ãPythonã§ã¯ãä»£å ¥ã¯æã§ããã¹ãï¼ãã¨ä¸è²«ãã¦ä¸»å¼µãã¦ãã¾ããã Cè¨èªãªã©ã§ã¯ãä»£å ¥ã¯è¶³ãç®ãæãç®ã¨åããå¤ãè¨ç®ãããå¼ãã§ããã¨ãã° a = (b=100) / 2; ã¨æ¸ãã¨ãb ã«ã¯ 100 ãä»£å ¥ããa ã« 100/2=50 ãä»£å ¥ãã¾ãã1+1 㯠2 ã¨ããå¤ã«ãªã å¼ ã§ãããb=100 ãåæ§ã«å¤ã 100 ã¨ãªã å¼ ãªã®ã§ãã Pythonã§ã¯ãä»£å ¥ã¯å¼ã§ã¯ãªãã®ã§ãããããæ¸ãæ¹ã¯ã§ãã¾ããã Pythonã®ä»£å ¥ã¯ã足ãç®ãªã©ã®æ¼ç®åã®ä»²éã§ã¯ãªããif ã for ã®ãããªå¶å¾¡æã®ä»²éã§ããã¾ãèªç±ãªæ¸ãæ¹ã¯åºæ¥ãªãã®ã§ãã Python FAQ ã§ã¯ããã®çç±ã¨ã㦠Python ã®å¼ä¸ã§ã®ä»£å ¥ã許ããªãçç±ã¯ããã®æ§é ã«ãã£ã¦èµ·ãããä»ã®è¨èªã§ã¯ãããã¡ã§è¦ã¤ãã¥ãããã°ã§ã: if (x = 0) { // error handling } e
{{#tags}}- {{label}}
{{/tags}}