Why the console shows an error, as"` str` object cannot be interpreted as an integer. " | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why the console shows an error, as"` str` object cannot be interpreted as an integer. "

19th Sep 2016, 4:06 PM
Azhagu Surya
Azhagu Surya - avatar
3 Answers
+ 1
u might be doing mathematical operation on string. It would be better if u post ur code
19th Sep 2016, 4:40 PM
Vineet
0
you are performing a mathematical expression on a string
19th Sep 2016, 7:08 PM
POZEIDON Thomas
POZEIDON Thomas - avatar
0
Might be you are doing a mathematical operation to a string. Post your code, then it will be easier to give proper direction.
20th Sep 2016, 6:27 AM
Md Mizanur Rahman
Md Mizanur Rahman - avatar