There is a Python keyword called global. Learn what it does, then change fun1 from the last section to access and change a variable c in the Command Area. (You can change how you define the variable in the Command Area, too.)
What will be an ideal response?
```
def fun1():
global a
a = 12
c= "George"
print a,c
```
Then the terminal input/output should look like:
```
>>> a = "Hello"
>>> fun1()
12 George
>>> a
12
```
You might also like to view...
Given that a typedef for IntPtr defines a pointer to an integer, what would be the correct declaration for a function that expects a reference to an integer pointer?
a. void f1 (IntPtr& ptr); b. void f1 (IntPtr&* ptr); c. void f1 (IntPtr*& ptr); d. All of the above
A(n) ____________________ is defined as a person, place, or thing stored within a table of a database for which attributes and relationships exist.
Fill in the blank(s) with the appropriate word(s).
The Linux kernel was developed and released in 1991 by:?
A. ?Richard Stallman B. ?Linus Torvalds C. ?Andrew TannenbaumĀ D. ?Dennis Ritchie
To invoke File's Copy( ) method to make a copy of "source.txt", naming the new file "target.txt", you would write: File.Copy("source.txt", "target.txt"); because Copy is a static member of the File class.
Answer the following statement true (T) or false (F)