为什么我在 python 3.9.4 中出现 "Indent expected" 错误?

Why am I getting "Indent expected" error in python 3.9.4?

我在 python 中不断收到此错误。它一直说 Indent expected.你能试着解释一下吗?

import pyautogui

def Bot():
    #Next_Wave = x=1782, y=1017
    #Get_Questions = x=988, y=646
    #Anwser = x=1128, y=706

此处完全忽略评论。 这基本上就是你正在做的

import pyautogui

def Bot():
    

改为插入 pass

import pyautogui

def Bot():
    pass