title: KeyError python3.7
body: <p>so I keep getting this error called :</p>
  
  <pre><code>KeyError: 'width'
  </code></pre>
  
  <p>and I have no idea what to do, I defined what <code>width</code> is, but it still doesn't work.</p>
  
  <pre><code>width = input("For how many characters do you want to align the table?")
  </code></pre>
  
  <p>then I convert it to an <code>int</code></p>
  
  <pre><code>width = int(width)
  
  line = ("|  {:^{width}d}  |  {:^{width}b}  |  {:^{width}o}  |  {:^{width}x}")
  
  print(line.format(1))
  </code></pre>
  
  <p>and when I try to run the programm I get an error.</p>