1. %æ¼ç®å 2.3.6.2 æååãã©ã¼ãããæä½ ã«ããã¨ã æååããã³ Unicode ãªãã¸ã§ã¯ãã«ã¯åºæã®æä½: % æ¼ç®å (ã¢ã¸ã¥ã) ãããã¾ãã(â¦) format % values (format ã¯æååã¾ã㯠Unicode ãªãã¸ã§ã¯ã)ã¨ããã¨ãformat ä¸ã® % å¤ææå®ã¯ values ä¸ã®ã¼ãåã¾ãã¯ãã以ä¸ã®è¦ç´ ã§ç½®æããã¾ãã ãã¼ãã%æ¼ç®åã¨ããç¬èªã®ãã®ãããã®ãã(@_@;) 2. æ°å¤ã§ç½®ãæãã æååã®ä¸ã®å¤æ°ãä¸ã¤ã®å ´åã a = 100 b = -200 print "Hello! %d" % a çµæã Hello! 100 ã¿ãã«ãããããªãã¸ã§ã¯ã æååã®ä¸ã«å¤æ°ãäºã¤ä»¥ä¸ããå ´åãã¿ãã«ãããããªãã¸ã§ã¯ãã使ãã # ã¿ãã« print "Hello! %d %d" % (a, b) # ããããªãã¸ã§ã¯ã pri
{{#tags}}- {{label}}
{{/tags}}