title: Exception handling - how to handle invalid datatype in user input?
body: <p>Being new to programming, I am trying to input name which is a string input. If I enter anything other than a string, error should be displayed as invalid input type. How can this be achieved? </p>