title: how to check if the user input is a string in python 3
body: <p>I wrote the code below: </p>
  
  <pre><code>try:
      nums=input("Write a name:")
      print (nums)
  except ValueError:
      print ("You didn't type a name")
  </code></pre>
  
  <p>The problem is that even the user enter a number the program prints it `</p>