0

Why python func isn't working ?

for example def sum(x): print(x+"4") sum(1)

13th Feb 2020, 6:20 PM
Anisimov Vladislav
Anisimov Vladislav - avatar
1 Antwort
+ 6
You can't add an integer and a string. It should be: print(x+4)
13th Feb 2020, 6:27 PM
Aymane Boukrouh
Aymane Boukrouh - avatar