{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpotisan-programming-memo.hatenablog.jp%2Fentry%2F2021%2F07%2F25%2F175438\" title=\"Python3 \u53cd\u5fa9\u53ef\u80fd\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304b\u3089\u6b63\u898f\u8868\u73fe\u306e\u4e00\u81f4\u90e8\u5206\u304c\u91cd\u8907\u3057\u306a\u3044\u8981\u7d20\u3092\uff11\u3064\u305a\u3064\u629c\u304d\u51fa\u3059 - potisan\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","version":"1.0","type":"rich","published":"2021-07-25 17:54:38","categories":["Python 3","\u307e\u3068\u3081\u672a\u767b\u9332\uff08\u7ba1\u7406\u7528\uff09"],"height":"190","provider_name":"Hatena Blog","blog_url":"https://potisan-programming-memo.hatenablog.jp/","description":"\u53cd\u5fa9\u53ef\u80fd\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\uff08Iterable\uff09\u304b\u3089\u6b63\u898f\u8868\u73fe\u306e\u4e00\u81f4\u90e8\u5206\u304c\u91cd\u8907\u3057\u306a\u3044\u8981\u7d20\u3092\uff11\u3064\u305a\u3064\u629c\u304d\u51fa\u3059\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u3059\u3002\u8f9e\u66f8\u578bdict\u304c\u30ad\u30fc\u3068\u5024\u306e\u30bf\u30d7\u30eb\u3067\u521d\u671f\u5316\u3067\u304d\u3001\u30ad\u30fc\u306e\u91cd\u8907\u3059\u308b\u5024\u3092\u81ea\u52d5\u3067\u4e0a\u66f8\u304d\u3059\u308b\u3053\u3068\u3092\u5229\u7528\u3057\u3066\u3044\u307e\u3059\u3002 import re #\u5143\u304b\u3089\u91cd\u8907\u3057\u306a\u3044\u306e\u3067\u30bb\u30c3\u30c8\u3068\u3057\u3066\u7528\u610f #\u30ea\u30b9\u30c8[...]\u306a\u3069\u3067\u3082\u69cb\u308f\u306a\u3044\u3002 values = (\"ab1111\", \"ab1112\", \"ac2111\", \"ac2112\") #\u6b63\u898f\u8868\u73fe\u30d1\u30bf\u30fc\u30f3\u306e\u6e96\u5099 #\u672b\u5c3e2\u6841\u3092\u4e00\u81f4\u90e8\u5206\u3068\u3059\u308b\u3002 #\u5148\u982d\u304c\"a\"\u3067\u306a\u3044\u8981\u7d20\u306f\u9664\u5916\u3059\u308b\u3002 pattern = re.compile(r\"^a.+(\\d\\d)$\") #\u30d1\u30bf\u30fc\u30f3\u306e\u4e00\u2026","width":"100%","author_url":"https://blog.hatena.ne.jp/potisan/","title":"Python3 \u53cd\u5fa9\u53ef\u80fd\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304b\u3089\u6b63\u898f\u8868\u73fe\u306e\u4e00\u81f4\u90e8\u5206\u304c\u91cd\u8907\u3057\u306a\u3044\u8981\u7d20\u3092\uff11\u3064\u305a\u3064\u629c\u304d\u51fa\u3059","author_name":"potisan","image_url":null,"url":"https://potisan-programming-memo.hatenablog.jp/entry/2021/07/25/175438","blog_title":"potisan\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30e1\u30e2"}