0

Why error comes when '17' * '7'

in detail answer

14th Nov 2016, 9:30 AM
An S
An S - avatar
2 Réponses
+ 3
you can't multiply a string by a string :) the * operator works only for a combination of: - a string and an integer - an integer an an integer - a float and a float - ... but not with a string and another string
14th Nov 2016, 9:59 AM
EagleEye
EagleEye - avatar
0
So basically it should be '17 * 7' you dont need to single string
23rd Nov 2016, 3:11 PM
Dav