Answers for "taking string input from user in python with try except"

1

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")
Posted by: Guest on July-27-2021

Code answers related to "taking string input from user in python with try except"

Python Answers by Framework

Browse Popular Code Answers by Language