+ 2
Could anybody tell me wheres wrong,im a noob
a=1 b=2 c=3 x1=int( -b + (((b**2) - (4*a*c)}**(1/2))) x11=(x1)/(2*a) print( x11 )
3 Answers
+ 5
a=1
b=2
c=3
x1=int(-b + ((b**2) - (4*a*c)**(1/2)))
x11= x1/(2*a)
print(x11)
In your code you messed up with braces, Curely base was and an extra opening brace
+ 3
reread your own code before posting. you have a rogue curly brace in the equation.
+ 3
If your IDE doesn't automatically catch the syntax error, just count the number of each type of brace per line. If there are an odd number of braces then you are missing one somewhere.