def do_something_to_this_list(the_list):
    for i in range(len(the_list)):
        the_list[i] = the_list[i]**2
    return the_list

def do_something_else_to_this_list(the_list):
    for i in the_list:
        print(i)

"""
Create a rectangle object.  A rectangle will have three attributes: a length,
a width, and a name.  Give your rectangle a to_string function which returns
the rectangle's information as a string.  For example, if you have a
rectangle namedRodney with length 10 and widith 10, it would return the
string 'Rodney the rectangle has an area of 100'
"""
class Rectangle:
    pass

def create(length, width, name):
    rectangle = Rectangle()
    rectangle.length = length
    rectangle.width = width
    rectangle.name = name
    return rectangle

def to_string(rectangle):
    string = rectangle.name
    string += ' the rectangle has an area of '
    area = rectangle.length * rectangle.width
    string += str(area) #if you forget to cast as a str(), I will not complain
    return string

#if I asked you to write a change_name for your rectangle:
def change_name(rectangle, new_name):
    rectangle.name = new_name
