if(word.length()>3): AttributeError: 'str' object has no attribute 'length' code example
Example: str object has no attribute len
str = "this is string example....wow!!!";
print("Length of the string: ", len(str))
str = "this is string example....wow!!!";
print("Length of the string: ", len(str))