snake.length = 2
# Get the correct values as inputs.
height = int(input("The giraffes height should be: "))
# Get the values for start, end and diff as inputs
start = int(input("Enter start: "))
end = int(input("Enter end: "))
diff = int(input("Enter diff: "))
# This code is correct!
for index in range(start, end):
giraffes[index].height = height
height = height + diff