Ch 25check empty or not

 name=input("enter your name")

if name:

print(f"your name is\t{name}")

else:

print("you dont type anything try again")

# it is simple code to check the user type anything or not !! 

Comments