Why third example is erroneous | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

Why third example is erroneous

22nd Jan 2018, 1:52 PM
Deadpool
4 Answers
+ 1
?
22nd Jan 2018, 1:53 PM
Sebastián Zapata
Sebastián Zapata - avatar
+ 1
It is because you are multiplying strings and that's not possible. You have to write: 17*87 Without the quotes
22nd Jan 2018, 1:59 PM
Sebastián Zapata
Sebastián Zapata - avatar
+ 1
👍
22nd Jan 2018, 2:00 PM
Deadpool
0
'17'*'87':what's wrong with it?
22nd Jan 2018, 1:56 PM
Deadpool