标签: python
如何引用或调用返回if的{{1}}语句?我想使用该条件来执行另一条命令。
if
True
答案 0 :(得分:2)
您可以像其他布尔值一样使用函数结果:
if my_bot.win(): <other command>