<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>amachang</author_name>
  <author_url>https://blog.hatena.ne.jp/amachang/</author_url>
  <blog_title>IT戦記</blog_title>
  <blog_url>https://amachang.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>Python と JavaScript は似てる でも、 lambda の中に手続き的な書き方ができない Python の lambda lambda 引数: 式 で、式の部分にはブロックも書けない。 これでは、 JavaScript 脳の人はコードを書けないではないか！！！ というわけで lambda の中で手続きを書く方法を考えてみた 逐次処理 (lambda: ( 式, 式, )[-1]) 条件分岐 (lambda: ( 式, (lambda: ( 式, 式, 式, )[-1]) if (条件) else (lambda: ( 式, 式, 式, )[-1]), 式, )[-1]) 繰り返…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Famachang.hatenablog.com%2Fentry%2F20080304%2F1204633733&quot; title=&quot; Python の lambda の中で手続き的な書き方をする - IT戦記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-03-04 21:28:53</published>
  <title> Python の lambda の中で手続き的な書き方をする</title>
  <type>rich</type>
  <url>https://amachang.hatenablog.com/entry/20080304/1204633733</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
