Help pyton | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
15th Jun 2020, 1:16 PM
ишбэк
ишбэк - avatar
2 Answers
+ 1
Make the print statement either- print('square is: '+ str(s)) OR print('square is: ', s) Because a and b are integer inputs and cannot be concatenated with a string.
15th Jun 2020, 1:20 PM
Avinesh
Avinesh - avatar
0
Thank you
15th Jun 2020, 1:22 PM
ишбэк
ишбэк - avatar