Menu

(Solved) : Global Variables Python Define Variable Name Name Define Function Greet Sets Global Variab Q34271420 . . .

  1. 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


Answer to Global Variables Python Define Variable Name Name Define Function Greet Sets Global Variab Q34271420 . . .

OR