Lab 1

import math

x1= float(input(“enter the value for x1: “))

y1= input(“enter the value for y1: “)

x2= input(“enter the value for x2: “)

y2= input(“enter the value for y2: “)

b = input(“enter y-intersect: “)

slope = (y2-y1)/(x2-x1) print ‘y=’,slope,’x+ ‘, b

Hello world!

This is the first post on your Learning Blog. Edit or delete it, then start blogging!

NOTE: Remember to add appropriate Category and Tags to your posts. This will help your professors and other visitors find the content they are looking for. The Category “Coursework” and the Tags “OpenLab” and “City Tech” have already been applied to this post. Feel free to make changes!