Jun-14-2020, 12:31 AM
Hi,
I am working on trying to write a program to convert any form of the slope intercept equation into the standard, y=mx+b form. I always have a hard time keeping track of negative an positive values and want to be able to have the computer do some of the conversion. I am wondering what you link of my code so far?
I am working on trying to write a program to convert any form of the slope intercept equation into the standard, y=mx+b form. I always have a hard time keeping track of negative an positive values and want to be able to have the computer do some of the conversion. I am wondering what you link of my code so far?
# y = mx+b slopeintercept = ['y', 'm','x','b'] print(slopeintercept) print(slopeintercept[0]) message = f'{slopeintercept[0]}={slopeintercept[1]}{slopeintercept[2]}+{slopeintercept[3]}' print(message)
Output: ['y', 'm', 'x', 'b']
y
y=mx+b
[Finished in 0.3s]