def frame_number(frame, speed, particles):
    """
    Creates the text for the animation, called every frame to get the
    text to be displayed. 
    
    Can have your own text the function must have the same input and
    output variables as this one.
    
    The first line to be run is pos = frame*speed to get the current
    position of the data to be viewed

    Parameters
    ----------
    frame : int
        The frame number of the animation.
    speed : int
        The number of cords jumped per frame
    particles : object
        An object which contains all the particles data

    Returns
    -------
    str
        The text to be displayed for a given frame

    """
    pos = frame*speed
    return f"Position: {pos},  Frame: {frame}"