{"published":"2013-09-19 22:01:24","title":"\u30af\u30e9\u30b9","author_name":"farmedgeek","url":"https://farmedgeek.hateblo.jp/entry/20130919/1379595684","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffarmedgeek.hateblo.jp%2Fentry%2F20130919%2F1379595684\" title=\"\u30af\u30e9\u30b9 - \u990a\u6b96Geek\u306f\u5ddd\u3092\u4e0a\u308b\u304b\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u990a\u6b96Geek\u306f\u5ddd\u3092\u4e0a\u308b\u304b","height":"190","provider_name":"Hatena Blog","categories":["Python"],"version":"1.0","image_url":null,"width":"100%","provider_url":"https://hatena.blog","type":"rich","description":"\u30af\u30e9\u30b9 \u898b\u3088\u3046\u898b\u307e\u306d\u3067\u30af\u30e9\u30b9\u3092\u4f5c\u3063\u3066\u307f\u305f phone\u30af\u30e9\u30b9 ./phone.py #!/usr/bin/python # coding:utf-8 class Phone: #\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf def __init__(self,maker): self.maker = maker #\u30c7\u30d0\u30a4\u30b9\u53d6\u5f97\u95a2\u6570 def getDevice(self): if self.maker == 'apple': return 'iPhone' elif self.maker == 'google': return 'android' else: return 'Galapagos' ./maker_made_ph\u2026","blog_url":"https://farmedgeek.hateblo.jp/","author_url":"https://blog.hatena.ne.jp/farmedgeek/"}