##### Python Syntax error

Why does this not work? It gives me an error that I do not understand.

**Voters**

LukeWright (114)

if you are asking for a coeffiecient, the input should be a string, not an integer. remove the int( from in front of the inputs like so:

```
a = input("first coefficient: ")
b = input("second coefficient: ")
c = input("Second coefficient: ")
```

DavidSafro (19)

@LukeWright THat was what I did first. When I do that, it takes the variables as a str and when I try to run the algorithim, it says error cuz u cant do math with int+var

I'm pretty sure this happens if it's trying to calculate something that is not mathematically possible.

@IMayBeMe yes but what is impossible here? its just a quadratic formula

@DavidSafro yeah I’m not really sure about that as it looks ok from a math standpoint

@IMayBeMe k thx u were right it gave error because you cannot have a square root of a number less than zero which was the final sum in most cases

@DavidSafro Oh ok so I'm guessing that would return no solution?

@IMayBeMe yup