I am new to python could someone tell me what is the problem with this code: 

```
#!/usr/bin/python
nl=[] 
for x in range(1500, 2700):
     i=0
     if (x%7==0) and (x%5==0):
         nl[i]=x
     i=i+1
print (','.join(nl))

```