How is it possible in Python we use methods as variables?

前端 未结 0 675
抹茶落季
抹茶落季 2020-11-29 10:24
    n=int(input())
    a=list(map(int,input().split()))
    sum=a[0]

How is "sum" a method used as a variable in the above code?

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