from statistics import mean
import numpy as np

#use numpy array to do matrix operations, so use list instead of numpy array
xs = [1,2,3,4,5,6]
ys = [5,6,7,8,9,10]

xs = np.array(xs, dtype=np.float64)
ys = np.array(ys, dtype=np.float64)

def best_fit_slope(xs, ys):
    m = ((mean(xs) *mean(ys)) - mean(xs*ys))
    return m

m = best_fit_slope()

import tensorflow