human
Python function for intersection of lines slope intercepts.
assistant
Here is a Python function for intersection of lines slope intercept

import math

def _intersection_of_lines(slope1, intercept1, slope2, intercept2):
  """Returns the intersection of two lines."""
  x = (intercept2 - intercept1) / (slope1 - slope2)
  y = slope1 * x + intercept1
  return x, y

# Enter the slope and intercept of line 1
slope1 = 2
intercept1 = 3

# Enter the slope and intercept of line 2
slope2 = 4
intercept2 = 5

# Calling the function
x, y = _intersection_of_lines(slope1, intercept1, slope2, intercept2)
print((x, y))

#Example Output
# (-1.0, 1.0)

#Remember to inspect code for bugs.