In Python, How can I make a if loop function?

前端 未结 0 654
予麋鹿
予麋鹿 2021-01-24 16:43

In Python, How can I make a if loop function?

Example:

def ifloop(condition,do):
if condition:
execute the do parameter code

Thanks

相关标签:
回答
  • 消灭零回复
提交回复
热议问题