{"id":1934,"date":"2020-10-01T04:09:52","date_gmt":"2020-10-01T04:09:52","guid":{"rendered":"https:\/\/kukan-joho.plus\/?p=1934"},"modified":"2024-10-31T02:50:58","modified_gmt":"2024-10-31T02:50:58","slug":"python-math-1","status":"publish","type":"post","link":"https:\/\/club.informatix.co.jp\/?p=1934","title":{"rendered":"Python\u3067\u6570\u5b66\u3092\u5b66\u307c\u3046\uff01 \u7b2c1\u56de"},"content":{"rendered":"<p><span class=\"photoline\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-1940\" src=\"https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2020-p\/10\/20201001-1.jpg\" alt=\"\" width=\"800\" height=\"481\" \/><\/span><\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.python.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">python.org<\/a><br \/>\n\u3053\u3053\u3067Python\u3092\u3059\u3050\u306b\u52d5\u304b\u3059\u3053\u3068\u304c\u3067\u304d\u308b<\/p>\n<p><a href=\"https:\/\/club.informatix.co.jp\/?cat=589\" target=\"_blank\" rel=\"noopener\">AI<\/a>\u306e\u5feb\u9032\u6483\u306f\u3068\u3069\u307e\u308b\u3068\u3053\u308d\u3092\u77e5\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>Python\uff08\u30d1\u30a4\u30bd\u30f3\uff09\u306fAI\u306e\u5b9f\u88c5\u306b\u6b20\u304b\u305b\u306a\u3044\u5f37\u529b\u306a\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u8a00\u8a9e\u3067\u3059\u3002AI\u3068Python\u3092\u7e4b\u3050\u30ad\u30fc\u30ef\u30fc\u30c9\u3053\u305d\u6570\u5b66\u3002<\/p>\n<p>2020\u5e745\u6708\u304b\u3089\u79c1\u306f\u300c\u685c\u4e95\u9032\u306ePython\u30fbUNIX\u6559\u5ba4\u300d\uff08Zoom\u30aa\u30f3\u30e9\u30a4\u30f3\u30bb\u30df\u30ca\u30fc\uff09\u3092\u59cb\u3081\u307e\u3057\u305f\u3002<\/p>\n<p>\u5c0f\u5b66\u68211\u5e74\u751f\u304b\u3089\u5927\u4eba\u307e\u3067\u53c2\u52a0\u3044\u305f\u3060\u304d\u6bce\u56de\u76db\u308a\u4e0a\u304c\u3063\u3066\u3044\u307e\u3059\u3002\u6559\u5ba4\u3067\u306fPython\u3092\u4f7f\u3063\u305f\u6570\u5b66\u306e\u5b66\u3073\u65b9\u3092\u5b9f\u8df5\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u3053\u3067\u5b9f\u611f\u3057\u3066\u3044\u308b\u3053\u3068\u306f\u3001Python\u306f\u65b0\u3057\u3044\u6570\u5b66\u306e\u6559\u79d1\u66f8\u3060\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002<\/p>\n<h2>python.org\u306b\u30a2\u30af\u30bb\u30b9<\/h2>\n<p>\u3055\u3063\u305d\u304fPython\u3092\u52d5\u304b\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>Python\u306e\u672c\u5bb6\u672c\u5143<a href=\"https:\/\/www.python.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">python.org<\/a>\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u3001\u30d5\u30a3\u30dc\u30ca\u30c3\u30c1\u6570\u3092\u8868\u793a\u3059\u308b\u30b3\u30fc\u30c9\u304c\u51fa\u8fce\u3048\u3066\u304f\u308c\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3059\u3054\u3044\u306e\u304c\u3059\u3050\u306bPython\u3092\u8a66\u3059\u3053\u3068\u304c\u3067\u304d\u308b\u3053\u3068\u3067\u3059\u3002<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-1941\" src=\"https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2020-p\/10\/20201001-2.jpg\" alt=\"\" width=\"500\" height=\"323\" \/><\/p>\n<p style=\"text-align: center;\">\u9ec4\u8272\u306e\u56db\u89d2\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u5bfe\u8a71\u30e2\u30fc\u30c9\u304c\u8d77\u52d5<\/p>\n<p>\u540c\u3058\u753b\u9762\u306b\u898b\u3048\u308b\u9ec4\u8272\u306e\u56db\u89d2\u306b\u30dd\u30a4\u30f3\u30bf\u30fc\u3092\u5408\u308f\u305b\u3066\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068Launch Interactive Shell\u306e\u30da\u30fc\u30b8\u304c\u8d77\u52d5\u3057\u3001Python\u304c\u7acb\u3061\u4e0a\u304c\u308a\u307e\u3059\u3002\u3053\u308c\u304cPython\u306e\u5bfe\u8a71\u30e2\u30fc\u30c9\uff08Interactive Mode\uff1a\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u30e2\u30fc\u30c9\uff09\u3067\u3059\u3002<\/p>\n<p>Python\u306b\u306f\u5927\u304d\u304f\u5206\u3051\u30662\u3064\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u3042\u308a\u307e\u3059\u3002Python2\u3068Python3\u3067\u3059\u3002\u3053\u308c\u304b\u3089Python\u3092\u59cb\u3081\u3088\u3046\u3068\u3059\u308b\u4eba\u306fPython3\u304b\u3089\u306f\u3058\u3081\u307e\u3057\u3087\u3046\u3002\u3061\u306a\u307f\u306bmacOS\u306b\u6a19\u6e96\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u306e\u306fPython2\u306a\u306e\u3067\u3001Python3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u753b\u9762\u5192\u982d\u306ePython 3.8.0 \u304cPython3\u3067\u3042\u308b\u3053\u3068\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002\u6700\u65b0\u306f3.8.6\uff082020\u5e749\u670830\u65e5\u73fe\u5728\uff09\u3067\u3059\u3002<\/p>\n<p>\u3067\u306f\u3055\u3063\u305d\u304f&gt;&gt;&gt;\u306e\u5f8c\u306b\u5165\u529b\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>1+1\u23ce<br \/>\n\u3068\u3059\u308c\u30702\u304c\u3059\u3050\u306b\u8868\u793a\u3055\u308c\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<p>Python\u306e\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u30e2\u30fc\u30c9\u3067\u306f\u96fb\u5353\u3068\u3057\u3066\u3059\u3050\u306b\u4f7f\u3048\u307e\u3059\u3002<br \/>\n\u56db\u5247\u306e\u8a18\u53f7+-*\/\u306f\u901a\u5e38\u901a\u308a\u3067\u3059\u3002()\u3082\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u51aa\u4e57\u306f\u8a18\u53f7^\u3067\u306f\u306a\u304f**\u3092\u4f7f\u3044\u307e\u3059\u30022\u306e3\u4e57\u306f2**3\u30012\u306e100\u4e57\u306f2**100\u3068\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-1942\" src=\"https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2020-p\/10\/20201001-3.jpg\" alt=\"\" width=\"600\" height=\"287\" \/><\/p>\n<p style=\"text-align: center;\">\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u30e2\u30fc\u30c9\u3092\u96fb\u5353\u3068\u3057\u3066\u4f7f\u3046<\/p>\n<p>\u3067\u306f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u6700\u521d\u306e\u304a\u7d04\u675f\u300cHello, world\u30d7\u30ed\u30b0\u30e9\u30e0\u300d\u3092\u5b9f\u884c\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>&gt;&gt;&gt; print(&#8220;Hello, world&#8221;)\u23ce<br \/>\nHello, world<\/p>\n<p>\u3053\u308c\u3067\u3042\u306a\u305f\u3082Python\u30c7\u30d3\u30e5\u30fc\u3067\u3059\u3002Pythonista\uff08\u30d1\u30a4\u30bd\u30cb\u30b9\u30bf\uff09\u3092\u76ee\u6307\u3059\u3082\u3088\u3057\u3001\u753b\u50cf\u8a8d\u8b58\u306eAI\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306b\u6311\u6226\u3057\u3066\u307f\u308b\u3082\u3088\u3057\u3001Python\u3067\u6570\u5b66\u3092\u5b66\u3076\u306e\u3082\u3088\u3057\u3001\u7d20\u6674\u3089\u3057\u3044Python\u30ef\u30fc\u30eb\u30c9\u304c\u3042\u306a\u305f\u3092\u5f85\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3082\u3046\u5c11\u3057python.org\u306e\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u30e2\u30fc\u30c9\u3067\u904a\u3093\u3067\u307f\u307e\u3057\u3087\u3046\u3002\u56db\u5247\u3068\u51aa\u4e57\u4ee5\u5916\u306bPython\u306b\u306f\u69d8\u3005\u306a\u6f14\u7b97\u304c\u6a19\u6e96\u3067\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>\u3010\u554f\u984c1\u3011\u6f14\u7b97\u8a18\u53f7\/\/\u306f\u3069\u3093\u306a\u8a08\u7b97\u3092\u8868\u3059\u3067\u3057\u3087\u3046\u304b\uff1f\u6b21\u306e\u8a08\u7b97\u4f8b\u304b\u3089\u8003\u3048\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/h3>\n<p>&gt;&gt;&gt; 12\/\/4<br \/>\n3<br \/>\n&gt;&gt;&gt; 6\/\/2<br \/>\n3<br \/>\n&gt;&gt;&gt; 9\/\/3<br \/>\n3<br \/>\n&gt;&gt;&gt; 10\/\/3<br \/>\n3<br \/>\n&gt;&gt;&gt; 11\/\/3<br \/>\n3<\/p>\n<h3>\u3010\u554f\u984c2\u3011\u6f14\u7b97\u8a18\u53f7%\u306f\u3069\u3093\u306a\u8a08\u7b97\u3092\u8868\u3059\u3067\u3057\u3087\u3046\u304b\uff1f\u6b21\u306e\u8a08\u7b97\u4f8b\u304b\u3089\u8003\u3048\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/h3>\n<p>&gt;&gt;&gt; 10%3<br \/>\n1<br \/>\n&gt;&gt;&gt; 11%3<br \/>\n2<br \/>\n&gt;&gt;&gt; 12%3<br \/>\n0<br \/>\n&gt;&gt;&gt; 12%5<br \/>\n2<\/p>\n<p>\u7b54\u3048\u306f\u3001\/\/\u306f\u5546\u3001%\u306f\u4f59\u308a\u3067\u3059\u3002<\/p>\n<p>\u3055\u3066\u3001\u305b\u3063\u304b\u304fpython.org\u306b\u30a2\u30af\u30bb\u30b9\u3057\u305f\u306e\u3067\u3059\u304b\u3089\u3001Doc\u306b\u9032\u3093\u3067\u307f\u307e\u3057\u3087\u3046\u3002\u3053\u3053\u306b\u306fPython\u306e\u3042\u3089\u3086\u308b\u60c5\u5831\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u304c\u683c\u7d0d\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-1943\" src=\"https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2020-p\/10\/20201001-4.jpg\" alt=\"\" width=\"800\" height=\"400\" \/><\/p>\n<p style=\"text-align: center;\">python.org\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u304b\u3089Doc\u306b\u30a2\u30af\u30bb\u30b9<\/p>\n<p>Doc\u306e\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306b\u5165\u3063\u305f\u3089\u3001\u753b\u9762\u4e00\u756a\u4e0a\u306e\u8a00\u8a9e\u9078\u629e\u3067Japanese\u3092\u9078\u3073\u307e\u3059\u3002\u3059\u308b\u3068\u8868\u793a\u304c\u65e5\u672c\u8a9e\u306b\u5909\u308f\u308a\u307e\u3059\u3002Python3.8.6\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3001\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u4e00\u89a7\u304b\u3089\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u898b\u3064\u3051\u307e\u3059\u3002<\/p>\n<p><span class=\"photoline\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-1944\" src=\"https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2020-p\/10\/20201001-5.jpg\" alt=\"\" width=\"600\" height=\"369\" \/><\/span><\/p>\n<p style=\"text-align: center;\">\u8a00\u8a9eJapanese\u3092\u9078\u629e\u3057\u3066\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u30af\u30ea\u30c3\u30af<\/p>\n<p>\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u521d\u5fc3\u8005\u306e\u305f\u3081\u306e\u4e01\u5be7\u306a\u30ca\u30d3\u30b2\u30fc\u30c8\u3092\u53d7\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u300c3.1. Python\u3092\u96fb\u5353\u3068\u3057\u3066\u4f7f\u3046\u300d\u3092\u306e\u305e\u3044\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><span class=\"photoline\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-1939\" src=\"https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2020-p\/10\/20201001-6.jpg\" alt=\"\" width=\"600\" height=\"510\" \/><\/span><\/p>\n<p>\u81a8\u5927\u304b\u3064\u8a73\u7d30\u306a\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306b\u5727\u5012\u3055\u308c\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<p>\u3044\u304b\u304c\u3067\u3059\u304b\u3002\u30d6\u30e9\u30a6\u30b6\u3092\u7acb\u3061\u4e0a\u3052\u308b\u3060\u3051\u3067\u3059\u3050\u306bPython\u30ef\u30fc\u30eb\u30c9\u3092\u4f53\u9a13\u3067\u304d\u3066\u3057\u307e\u3044\u307e\u3059\u3002Python\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3082\u5b9f\u306b\u7c21\u5358\u3067\u3059\u3002<\/p>\n<p>\u305c\u3072\u81ea\u5206\u306ePC\u3067Python\u30b7\u30b9\u30c6\u30e0\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306b\u6311\u6226\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>python.org \u3053\u3053\u3067Python\u3092\u3059\u3050\u306b\u52d5\u304b\u3059\u3053\u3068\u304c\u3067\u304d\u308b AI\u306e\u5feb\u9032\u6483\u306f\u3068\u3069\u307e\u308b\u3068\u3053\u308d\u3092\u77e5\u308a\u307e\u305b\u3093\u3002 Python\uff08\u30d1\u30a4\u30bd\u30f3\uff09\u306fAI\u306e\u5b9f\u88c5\u306b\u6b20\u304b\u305b\u306a\u3044\u5f37\u529b\u306a\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u8a00\u8a9e\u3067\u3059\u3002AI\u3068Py &#8230; <\/p>\n","protected":false},"author":4,"featured_media":11264,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,464,526],"tags":[65],"class_list":["post-1934","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-4","category-hito-star-mathmatics","category-526","tag-python"],"jetpack_featured_media_url":"https:\/\/club.informatix.co.jp\/wp-content\/uploads\/2020\/11\/20201001-7.jpg","_links":{"self":[{"href":"https:\/\/club.informatix.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/1934","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/club.informatix.co.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/club.informatix.co.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/club.informatix.co.jp\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/club.informatix.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1934"}],"version-history":[{"count":8,"href":"https:\/\/club.informatix.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/1934\/revisions"}],"predecessor-version":[{"id":20727,"href":"https:\/\/club.informatix.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/1934\/revisions\/20727"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/club.informatix.co.jp\/index.php?rest_route=\/wp\/v2\/media\/11264"}],"wp:attachment":[{"href":"https:\/\/club.informatix.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1934"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/club.informatix.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1934"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/club.informatix.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1934"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}