title: Combine number and string gives 'int' object has no attribute
body: <p>I get an 'int' object has no attribute 'format' error when I run this code
  The reason being is the password has numbers and letters.</p>
  
  <pre><code>import subprocess
  
  password = input('Enter New Password: ')
  c = subprocess.call(["C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\powershell.exe", "Set-ADAccountPassword john -NewPassword {0} –Reset"])
  f = c.format(password)
  
  print(f)
  </code></pre>
  
  <p>I've tried </p>
  
  <pre><code>f = c.format(int(password))
  </code></pre>
  
  <p>and </p>
  
  <pre><code>f = c.format(str(password))
  </code></pre>
  
  <p>Is there a way I can specify that password contains both letters and numbers?</p>