Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

taking string input from user in python with try except

try:
	User_Name = input("What is your name:- ")
	print("Hi "+User_Name+"It's me python")
except:
  print("The user Name Is incorrect")
 
PREVIOUS NEXT
Tagged: #string #input #user #python
ADD COMMENT
Topic
Name
8+8 =