fixed math51.py exercise

Signed-off-by: ksiddiqu@redhat.com <ksiddiqu@ksiddiqu.csb>