{"url":"https://shinespark.hatenablog.com/entry/2015/09/26/005251","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshinespark.hatenablog.com%2Fentry%2F2015%2F09%2F26%2F005251\" title=\"Python\u306e\u30a2\u30f3\u30d1\u30c3\u30af\u4ee3\u5165\u304c\u4fbf\u5229 - \u4eba\u751f\u30b7\u30fc\u30b1\u30f3\u30b9\u30d6\u30ec\u30a4\u30af\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2015-09-26 00:52:51","blog_title":"\u4eba\u751f\u30b7\u30fc\u30b1\u30f3\u30b9\u30d6\u30ec\u30a4\u30af","blog_url":"https://shinespark.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/ShineSpark/","provider_name":"Hatena Blog","image_url":null,"version":"1.0","title":"Python\u306e\u30a2\u30f3\u30d1\u30c3\u30af\u4ee3\u5165\u304c\u4fbf\u5229","author_name":"ShineSpark","description":"Python\u3067\u306f\u8907\u6570\u306e\u5909\u6570\u306b\u7e8f\u3081\u3066\u4ee3\u5165\u53ef\u80fd\u3002 >>> x, y = 1, 2 >>> x, y (1, 2) \u53f3\u8fba\u306f\u30ea\u30b9\u30c8\u3084\u30bf\u30d7\u30eb\u3067\u3042\u308c\u3070\u826f\u304f\u3001Python\u3067\u30bf\u30d7\u30eb\u306f , \u3067\u8868\u73fe\u3055\u308c\u308b\u306e\u3067\u62ec\u5f27\u306f\u3042\u3063\u3066\u3082\u306a\u304f\u3066\u3082\u826f\u3044\u3002 \u5229\u7528\u4f8b1: \u30ea\u30b9\u30c8\u8981\u7d20\u3092\u7e8f\u3081\u3066\u53d7\u3051\u53d6\u308a >>> li = [3, 5] >>> a, b = li >>> a, b (3, 5) \u95a2\u6570\u306ereturn\u306e\u30ea\u30b9\u30c8\u3092\u53d7\u3051\u53d6\u308b\u3053\u3068\u3082\u53ef\u3002 \u5229\u7528\u4f8b2: \u30ea\u30b9\u30c8\u5185\u5305\u8868\u8a18\u3068\u7d44\u307f\u5408\u308f\u305b >>> input = '3 5' >>> x, y = [int(x) for x in input.split()] >>> x, y (3, 5) \u30b9\u30af\u30ec\u30a4\u2026","height":"190","type":"rich","width":"100%","categories":["Python"],"provider_url":"https://hatena.blog"}