How to perform rounding up or rounding down of a floating point number in python
<p>I need to round floating number in such a way that,</p>

<p><strong>If 7.4 comes, it should round to next lower number, that is 7.<br>
If 7.5 or 7.6 comes it should round to next higher number, that is 8</strong></p>

<p>How can I do that? I am using python 2.7</p>