Why doesn't the function revert?



  • def srsumm(n,a=0,b=0):
        for i in n:
            a+=i
            b+=1
        return a, b
    def printn(n,a,c=0):
        total, count = srsumm(n)
        c=total//count
        print(a)
        return c
    def answer():
        a=printn(с)
        print(a)
    
    answer()
    

    Says he doesn't find "s" in printn(c) but why did it find srsumm(n) then?

    And please explain if srsumm(n) was written, how does she return a,b?



  • Where? c Total answer(): Should I show up? I don't programme on the python, but I don't think you're answering. c




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2