- Global variables python
- define a variable name with your name
- define a function greet( ) that sets theglobal variable name to “Jane Doe”. The functionshould return “Hello” and the variable name
- print name
- call the function greet( ) and print theoutput
- print name
- Has the value of name changed after callingthe function greet( )?
Expert Answer
An answer will be send to you shortly. . . . .