Study Guide

7.4.4 Length of User’s Name CodeHS Answers

7.4.4 Length of User’s Name CodeHS Answers

The most common answer is:

name = "Thelas"

def name_length(name):
    return len(name)

print(name_length(name))

This indicates that the name “Thelas” consists of 6 characters.