scope of a variable in python for this question

后端 未结 0 772
故里飘歌
故里飘歌 2021-01-16 17:16

I don\'t know why, but I am getting value of scope as final as 0 even len(s) as zero in the last line of countfrequency(s) function.

import collections

def c         


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