so as the title states I'm learning python, and I figured a great way would be to play around with linked lists. I am trying to make a "stutter" function, which basically takes every integer in the linked list, and repeats it however many times you tell it to repeat. 

For example: If my linked list is 1->2->3 and n = 3, the new linked list should be 1->1->1->2->2->2->3->3->3.

My code for the function is:

```
def stutterNL(self, n):
    current = self.head
    next = current.next

    while current != None:

        for i in range(n - 1):
            current.next = Node(current.data)

        current.next = next
        current = next
        if next != None:
            next = next.next

    return self.head

```

My node class is:

```
class Node:

    def __init__(self, data = None):
        self.data = data
        self.next = None

```

and my linked list class and constructor are: 

```
class LinkedList:

    def __init__(self):
        self.head = Node()

```

Can anyone please help me? Thank you for any help you can provide, learning python has been tricky