• + 0 comments

    Here is the code in Python 3:

    # estimate the value of x when y = 7
    y = 7
    
    # the regression line 
    val_x = (9 * y + 107) / 20
    
    # print the result
    print(round(val_x, 1))