converting recursive function from python to scala

后端 未结 0 943
名媛妹妹
名媛妹妹 2021-01-23 19:25

I\'m trying to convert this recursive function from python code to scala. In python:

    def func(hunter,goose,num):
        if hunter >= goose:
            re         


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