Python3.8ã®æ°æ©è½ã§ãããä¸çªå¥½ãããããã®ããã ãã«Python3.8å¿ é ã«ãã¦ãããã é常ã fæåå ã«å¤æ°åãå¼ãæå®ããã¨ããã®å¤ãæååã«åãè¾¼ã¾ãã¾ãã >>> foo, bar = 10, 20 >>> print(f'value is {foo+bar}') value is 30 便å©ãªæ©è½ã§ããããããã°ç¨ã«ãã¼ã¿ãåºåããã¨ãã«ã¯ãã¡ãã£ã¨é¢åã§ãããã¨ãã° foo 㨠bar ã®å¤ã確èªããã¨ãã¯ã確èªãããå¤æ°åã®ããã¹ãã¨ã表示ãããå¼ãå¥ã ã«æ¸ãå¿ è¦ãããã¾ãã >>> print(f'foo={foo} bar={bar} foo+bar={foo+bar}') foo=10 bar=20 foo+bar=30 ããã§ãfæååã«åºåæå®æ¹æ³ã追å ãããåºåãããå¼ã«ç¶ã㦠= ãæå®ããã¨ããã®å¼ã¨å¼ã®å¤ã®ä¸¡æ¹ãæååã«åãè¾¼ã¾ããããã«ãªãã¾
{{#tags}}- {{label}}
{{/tags}}