2007-11-01ãã1ã¶æéã®è¨äºä¸è¦§
å·¥ã¨ï½´ã§ï½ªï¼Â´Ð´ï½ï¼ï½ªã§ï½´ã¨å·¥å·¥ primes = [] for i in range(2,100): for p in primes: if i % p == 0: break else: primes.append(i) print primes >>> [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97]forâ¦
æè¿ããPython ã ã¨ã©ããªã®ï¼ãã£ã¦èããããã¨ãå¤ãã®ã§ ã¯ã£ããè¨ã£ã¦ããã¾ãï¼ï¼ æ¥è¨ã®æ¸ãå§ãã«ãæ¸ãã¾ãããâ¦â¦ 俺ãPython åããã¾ããï¼ï¼ æ¬å½ã«åãããªãã®ã§ãï¼ï¼ ã©ã®ãããåãããªããã¨ãã㨠Django ã§ã¯ãã㦠Python 触ã£ãã¨ãâ¦
æ´æ°æ»ã£ã¡ãã£ã¦ã¦ããããªããï¼ï¼ ã¡ãã£ã¨ä»äºãå¿ããã£ã¦Django触ã£ã¦ããæéããªãã§ãï¼ï¼ ã§ãã¤ãã§ã«åç¥ãï½ ã³ãã¥ããã£ããã« Webã¢ããªã±ã¼ã·ã§ã³éçºã®ä»å¾ãå ã æ¥æ¬Javaã¦ã¼ã¶ã¼ã°ã«ã¼ã ã¨ããã®ã§ã¢ãã¬ã¼ã¿ãããã¾ãã Pythonã®ãâ¦