title: How to solve "NameError: name 'x' is not defined" in pycharm
body: <p>I had a problem while coding I tried to solve it by abstracting the non-problematic parts and making a new Pycharm project with only the problematic part so that I can see it more clearly but I still can't see any problems. I think it may be because of a software error but I am not sure</p>
  
  <p><strong>Here is the problematic part:</strong></p>
  
  <pre><code>import sys
  import os
  
  User_Name=str(input("What is your name?"))
  print (User_Name)
  </code></pre>
  
  <p><strong>Here is the outcome:</strong></p>
  
  <blockquote>
    <p>What is your name? #X Traceback (most recent call last):   File
    "C:/Users/USER/PycharmProjects/More_Complex_Projects/BLINDFOLDED.py",
    line 4, in 
        User_Name=str(input("What is your name?"))   File "", line 1, in  NameError: name 'X' is not defined</p>
  </blockquote>
  
  <p>Process finished with exit code 1</p>
  
  <p>I expected it to print out the variable User_Name but it just gives an Name error</p>