0

Why -= *= is not valid for string and string

20th Apr 2020, 4:27 PM
Aditya
Aditya - avatar
4 odpowiedzi
+ 1
That's not a logical question. You cannot multiply or substract strings. You can just add strings
20th Apr 2020, 4:29 PM
Prince
+ 1
Python is not in my skills but you cant multiplay strings.
20th Apr 2020, 4:33 PM
Armin Amiri Nasab
Armin Amiri Nasab - avatar
+ 1
Cuz you simply cannot multiply or deduct strings. However you can use concatenation on strings by using + symbol.
20th Apr 2020, 4:38 PM
Optimus Prime
Optimus Prime - avatar
0
it ia not logical multiply string or substract string. you can multiply win int since it logical to say take my string and multiply it twice and etc
20th Apr 2020, 5:41 PM
george
george - avatar