title: What do empty curly braces mean in a string?
body: <p>So I have been browsing through online sites to read a file line by line and I come to this part of this code:</p>
  <pre><code>print(&quot;Line {}: {}&quot;.format(linecount, line))
  </code></pre>
  <p>I am quite confused as to what is happening here. I know that it is printing something, but it shows:</p>
  <pre><code>&quot;Line{}&quot;
  </code></pre>
  <p>I do not understand what this means. I know that you could write this:</p>
  <pre><code>foo = &quot;hi&quot;
  print(f&quot;{foo} bob&quot;)
  </code></pre>
  <p>But I don't get why there are empty brackets.</p>