Message381800
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. |
|
Date |
User |
Action |
Args |
2020-11-25 09:09:20 | uriyyo | set | recipients:
+ uriyyo, paul.moore, tim.golden, zach.ware, steve.dower, Kshitish |
2020-11-25 09:09:20 | uriyyo | set | messageid: <1606295360.68.0.44149202843.issue42459@roundup.psfhosted.org> |
2020-11-25 09:09:20 | uriyyo | link | issue42459 messages |
2020-11-25 09:09:20 | uriyyo | create | |
|