<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>philojuan</author_name>
  <author_url>https://blog.hatena.ne.jp/philojuan/</author_url>
  <blog_title>恥は/dev/nullへ by 初心者</blog_title>
  <blog_url>https://uhoho.hatenablog.jp/</blog_url>
  <categories>
    <anon>Python学習</anon>
  </categories>
  <description>f-strings 文字列の中で変数を使用する場合、f-stringsを使います。 コード first_name = &quot;william&quot; last_name = &quot;shakespeare&quot; full_name = f&quot;{first_name} {last_name}&quot; print(full_name) print(f&quot;その作家のフルネームは {full_name.title()} です&quot;) 実行結果 william shakespeare その作家のフルネームは William Shakespeare です format()メソッド 上記のように便利なf-stringsですが、Python3.…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fuhoho.hatenablog.jp%2Fentry%2F2021%2F07%2F25%2F033901&quot; title=&quot;［Python］文字列の中で変数を使う（f-stringsとformat()メソッド） - 恥は/dev/nullへ by 初心者&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>2021-07-25 03:39:01</published>
  <title>［Python］文字列の中で変数を使う（f-stringsとformat()メソッド）</title>
  <type>rich</type>
  <url>https://uhoho.hatenablog.jp/entry/2021/07/25/033901</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
