+ 8
Why is print('a' + 'b') giving out Numbers?
Two chars in Addition give out a number
6 ответов
+ 7
Solethink like that, yep. I had this ohne in a challenge but cant understand it :b
+ 5
the ASCII value of the characters are being added
+ 5
Well when 'a' is converted to int, it is 97, if 'b' is converted to int it is 98.
Because chars might not have any addition rules, they were converted to integers, both.
+ 4
In ascii numbers start from 49, uppercase letters start from 65, and lowercase letters start from 97.
+ 3
Was the number 195?