This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author uriyyo
Recipients Kshitish, paul.moore, steve.dower, tim.golden, uriyyo, zach.ware
Date 2020-11-25.09:09:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1606295360.68.0.44149202843.issue42459@roundup.psfhosted.org>
In-reply-to
Content
There is a little error in your code, it should look like this:
```
def test(sum):
    return int(sum)


if test(10) == 10:
   print("Yes")
else:
   print("No")
```

Basically `if sum == 10:` will compare builtin function sum with int value.

This isn't an issue we can close it.
History
Date User Action Args
2020-11-25 09:09:20uriyyosetrecipients: + uriyyo, paul.moore, tim.golden, zach.ware, steve.dower, Kshitish
2020-11-25 09:09:20uriyyosetmessageid: <1606295360.68.0.44149202843.issue42459@roundup.psfhosted.org>
2020-11-25 09:09:20uriyyolinkissue42459 messages
2020-11-25 09:09:20uriyyocreate