You can download this code by clicking the button below.
This code is now available for download.
This function takes a string argument and returns the length of the string.
Technology Stack : Built-in Python functions
Code Type : Python Function
Code Difficulty :
def random_word_length(word):
"""
This function returns the length of a given word.
"""
return len(word)