CSC111 Exercises with Global Variables

From dftwiki3
Revision as of 19:03, 24 April 2014 by Thiebaut (talk | contribs)
Jump to: navigation, search

--D. Thiebaut (talk) 15:57, 24 April 2014 (EDT)



style="width: 50%;"


A = 3

def f1( x ):
    print( "f1", x, A )

print( "A = ", A )
f1( 30 )


>>> 
A =  3
f1 30 3
>>>