Write A Python Program To Check Username Is Contains Less Than is 10 Characters.
Write A Program Whether a given Username Contains Less Than 10 Characters.
Code:
username = input("Enter The Username : ")
if (len(username)) < 10 :
print('Username is correct ')
else :
print('Username is too long !')
Output:
Enter The Username : rajeeblochan
Username is too long !
Enter The Username : rajeeb
Username is correct
Comments
Post a Comment