Aloha, i am new in coding and need if someone can explain this to me…
this is a code from ‘‘Using strings in lists in functions’’ :
n = [“Michael”, “Lieberman”]
Add your function here
result = ""
for word in words:
result += word
Now, my question is what is this ’ += ’ doing to the code? i see this code before but have no idea how and when to use it and this one ’ -= '
pls if someone can help me.