I have a list of websites in a string and I was doing a for loop to add "http" in the front if the first index is not "h" but when I return it, the list did not change.
n is my list of websites h is "http"
for p in n:
if p[0]!="h":
p= h+ p
else:
continue
return n
when i return the list, it returns my original list and with no appending of the "http". Can somebody help me?