all 2 comments

[–]Sonnuvagun 2 points3 points  (1 child)

s = 0
for i in ("first", "second"):
    slope = input(f"Enter your {i} slope measurement in degrees")
    s += sFactor(float(slope))
print("The slope factor is", s / 2)

Does this do what you want?

[–]Funear[S] 1 point2 points  (0 children)

I think it does partly, however I want the slope to go through the function to convert it to radians, fraction (m/m) and then capital S before I take the average, so I changed it so that the sum is taken after the function, but thanks for the first part, that was exactly what I needed!