String python isalpha ()
username = input("Choose a username:")
if username.isalnum() == True:
print("The entered username is ", username)
else:
print("Please enter a valid usernameSrin.")
Gorgeous Gazelle