REN`PY中怎么实现条件choice?

请求帮助ren`py
浏览数 - 387发布于 - 2025-07-08 - 21:05
Mincx
Mincx

1013

本来$符可以用来运行python代码,但是放在menu语句中就容易出错,包括if语句,又不想搞太多label费空间,求解。 define se = 1 menu choose: "选项主题" "choice1": "执行1内容" $ if se==1: "choice2": "执行2内容" 报错内容: Line is indented, but the preceding one-line python statement statement does not expect a block Please check this line's indentation You may have forgotten a coion()

#1
你缩进有问题吧
2025-07-10 - 11:32
kohaku