Retour au sujet

Avatar de Factom Factom
In [83]: sum(['o', 'k'])
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-83-0647c378aff9> in <module>()
----> 1 sum(['o', 'k'])

TypeError: unsupported operand type(s) for +: 'int' and 'str'

Bah oui bien sur, putain la logique de ce langage https://image.noelshack.com/minis/2016/32/1470920801-jesus17.png