0
Concatenation
Can we perform... Integer +character..
4 Réponses
+ 1
+= basically means :
a=5
b=3
b=b+a #it can also be written as b+=a
+ 2
yes u can concat string and integer..
example:
string = 'string'
for i in range(11):
string +=str(i)
print (string)
0
Thank you..
We have to assign like in place operator (+=)
We cannot directly assign the valu like('hello +world')
0
Yeah got it. Thank you Sami khan