farg=i

  1. A

    need help in python

    When I run the code: >>>i=5 >>>def f(arg=i): print(arg) >>>i=6 >>>f() It print 5.Why is this so??
Top Bottom