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

16th May 2021, 3:36 PM
Somil Khandelwal
2 ответов
+ 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
16th May 2021, 3:53 PM
Oma Falk
Oma Falk - avatar
+ 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.
16th May 2021, 4:46 PM
Endalk
Endalk - avatar