```python
return correct + incorrect != 0
    ? float(correct/(correct + incorrect))
    : 0
```