Write a boolean function that returns False if the name has more than 4 letters.
1
Expert's answer
2020-11-23T16:37:34-0500
defcheck_length(name):
#check the length of the nameiflen(name)>4:
#if it has more than 4 letters, return False returnFalseelse:
#return True otherwisereturnTrue
Comments