0
Why error comes when '17' * '7'
in detail answer
2 ответов
+ 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
0
So basically it should be '17 * 7'
you dont need to single string