```
def log_in():
    user_name1="xyz"
    try:
        user_name =(input("Enter your username:"))
        if (user_name ==user_name1):
            print("welcome")
    except TypeError:
        print("Enter only characters")
log_in()

```

I want to generate an exception when user enters integer values instead of string values