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

(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


An answer will be send to you shortly. . . . .

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

(Solved) : Create Table Airplan Airplaneid Int Primary Key Airplanename Varchar 20 Registerationid In Q29919209 . . . .(Solved) : Create Table Airplan Airplaneid Int Primary Key Airplanename Varchar 20 Registerationid In Q29919209 . . . .

<p>CREATE TABLE Airplan</p><p>(</p><p>AirplaneId INT primary key,</p><p>Airplanename varchar(20),</p><p>RegisterationID INT ,</p><p>Service Date ,</p><p>Servicetime INT ,</p><p>Member_schedule varchar (20),</p><p>Hours INT,</p><p>Member_paymentmode varcahr(20),</p><p>);</p><p>Insert into Airplan Values ('01','USAirlines','2008','05/09/2018','8','Basic','40','Credit card');</p><p>Insert into Airplan Values('02','IndiaAirlines','9180','05/10/2018','7','Pro','100','Credit card');</p><p>Insert into Airplan Values('03','SpiritAirlines','1870,'05/11/2018','5','Super','202','Credit card');</p><p>Insert