```
list = []

def lecture(x):
    for x in range(1,x):
        print 'lecture', x

```

so I have this code that gives the result of 

```
lecture 1  
lecture 2  

```

for an input of `lecture(3)`. Now, when I change the code to 

```
list = []

def lecture(x):
    for x in range(1,x):
        y = 'lecture', x
            print y

```

i get an output of 

```
('lecture', 1)  
('lecture', 2)  

```

Ultimately I would like to know why this is the case as I am trying to find a way of appending the first results, the:

```
lecture 1
lecture 2

```

into a list but I can't as I get a list with the lecture number separated from its number by a comma etc.