Рассчитайте r^2 для x и y python

#calculating the R^2
lm.score(X,y)
NotACoder