I have a line of code with a number. The code is copypasted multiple times so it can run many times. The problem is the numbers don't change. I am using pyautogui so the following is an example.
import pyautogui
pyautogui.typewrite("Hello")
pyautogui.scroll(1)
pyautogui.typewrite("Hello")
pyautogui.scroll(1)
pyautogui.typewrite("Hello")
pyautogui.scroll(1)
On the second and 3rd pastes of the code, how can I have them automatically be 2, 3 etc?