Why addition is done in string in python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why addition is done in string in python

18th Jun 2020, 5:42 AM
Devendra Singh
4 Answers
+ 1
Ok thankyou
18th Jun 2020, 6:01 AM
Devendra Singh
0
It's other way for concatenation.. But, now it was removed in new versions of python..
18th Jun 2020, 5:47 AM
sarada lakshmi
sarada lakshmi - avatar
0
We use Str(nu+num) Can we use Res=nu+num ??
18th Jun 2020, 5:51 AM
Devendra Singh
0
Yes, we can use it res='nu' +'num' print(res)
18th Jun 2020, 5:56 AM
sarada lakshmi
sarada lakshmi - avatar