Light Mode
Dark Mode
Main's assertions in my published solution
There are mistakes in "
 
 
    assert almost_equal(checkio(1, 2, 3), 2, 3), "3-1=2"
    assert almost_equal(checkio(5, -5), 10, 3), "5-(-5)=10"
    assert almost_equal(checkio(10.2, -2.2, 0, 1.1, 0.5), 12.4, 3), "10.2-(-2.2)=12.4"
    assert almost_equal(checkio(), 0, 3), "Empty""


In my previous published solutions the main function wasn't published.
This time the assertions from main function were published. My published solution makes no sense like that. Please keep only 'checkio' function (lines 1-2). Thank you for your time. panaro32

URL from: http://www.checkio.org/mission/most-numbers/publications/panaro32/python-3/first/
HTTP_USER_AGENT: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.110 Safari/537.36
  • feedback
Created: May 12, 2014, 4:07 p.m.
Updated: May 12, 2014, 8:45 p.m.
0
26
User avatar
panaro32