0

'5' + 6 can produces error why?

15th Apr 2017, 1:09 PM
AidilSha 6
AidilSha 6 - avatar
3 ответов
+ 6
Because in Python you can't make an operation between a string and a number, or concat them with "+" and show the result.
15th Apr 2017, 1:11 PM
Welliton Malta
Welliton Malta - avatar
+ 2
@Dayve there is no char type in Python
15th Apr 2017, 4:13 PM
Amaras A
Amaras A - avatar
0
thank you
15th Apr 2017, 1:30 PM
AidilSha 6
AidilSha 6 - avatar