0
i am developing linear equation solver eg:- x+y=1,x-y=1 this code is incomplete
how can i get answer of this (4x-2x)...... https://code.sololearn.com/c91UWiP8GXtT/?ref=app
2 odpowiedzi
+ 3
Y=f"y=({c1-a1}*x)/{b1}"
curly brackets evaluate their content if you put an f before string
Additionally line 7:
search=re.findall(pattern,"u")
u must be a string
+ 1
a=float(int(input("")))
b=float(int(input("")))
c=float(int(input("")))
a1=float(int(input("")))
b1=float(int(input("")))
c1=float(int(input("")))
Why do you need Float of Integer of a String?
Even thought, it is not quite a problem when running the code, I think you have to chose one of them, float or int.