Question: I'm working on a project which I want to be able to take words separated by a space, turn it into a string using .split() and then have pyautogui print it out with an "enter" being pressed in between each word. This is the code I have so far below.

```
# Importing stuff
import pyautogui

# Configure Typing Thing
pyautogui.PAUSE = 0

# Input
input = "hi this is a test run of this program"

# generate words
output_list = input.split()

pyautogui.write(output_list)
pyautogui.press("enter")

```

Could someone tell me what I did wrong while writing this? Thanks in advance.

Answer: 
Here is a simple example that will give you an idea about how to increment a counter

```js
var res=document.getElementById("res")
var btn=document.getElementById("btn")
var count=1
btn.addEventListener("click",()=>{
    res.textContent=count
    count++

})
```

```html
<div id="res"></div>

<button id="btn">Draw</button>
```
this is an easy way to counter the clicks on a html document.

```js
let counter = 0;    

document.onclick = () => {
    counter++;
    console.log(counter);
}
```