{"type":"rich","version":"1.0","author_name":"shikaku","url":"https://blog.systemjp.net/entry/2022/09/21/120251","height":"190","blog_url":"https://blog.systemjp.net/","author_url":"https://blog.hatena.ne.jp/shikaku/","provider_url":"https://hatena.blog","categories":[],"published":"2022-09-21 12:02:51","width":"100%","blog_title":"shikaku's blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.systemjp.net%2Fentry%2F2022%2F09%2F21%2F120251\" title=\"Python\u3067\u6587\u5b57\u3092\u6570\u5024\u5909\u63db - shikaku&#39;s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"Python\u3067\u6570\u5b57\u306e\u6587\u5b57\u5217str\u3092\u6570\u5024int, float\u306b\u5909\u63db\u6574\u6570\u306a\u3089int() print(int('100')) print(type(int('100'))) # 100 # <class 'int'>\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u306b\u5909\u63db: float() print(float('1.23')) print(type(float('1.23'))) # 1.23 # <class 'float'>2\u9032\u6570\u30018\u9032\u6570\u300116\u9032\u6570\u8868\u8a18\u306e\u6587\u5b57\u5217\u3092\u6570\u5024\u306b\u5909\u63db print(int('100', 2)) print(int('100', 8)) print(int('100', 16)) # 4 # 64 # 256 \u2026","title":"Python\u3067\u6587\u5b57\u3092\u6570\u5024\u5909\u63db","provider_name":"Hatena Blog","image_url":null}