No problem . I did notice one funny in the original code that I left in the PasteBin code . You are forcing the user through a set of steps in order . That ' s fine . But you are recalculating generateDatan in step 2 when you have already calculated it in step 1 . And you do generateDatan as well as calculateLeastSquaresxVal , yVal in step 3 . If you are forcing the user into a sequence of steps , it ' s better if you don ' t recalculate things you ' ve done before . Especially if those calculations might take a while . Don ' t make the user wait if you don ' t have to . <| sep |> I don ' t have any legitimate response so you go away <| sep |> College campus right now . My apartments still have a few people in them , but there ' s nobody outside