EpythonProject1venvScriptspythonexe EpythonProject3mainpy File EpythonProject3mainpy line 164 x = randomrandrange1 32 ^IndentationError expected an indented block after if statement on line 16
根据错误提示,需要在第162行的if语句后面添加一个缩进块。示例代码如下:
if a > b: x = random.randrange(1, 32) # 在这里添加你的代码块
请根据你的实际需求,将代码块添加到if语句的后面。
原文地址: https://www.cveoy.top/t/topic/itfo 著作权归作者所有。请勿转载和采集!