parameters and arguments

when you select the field that you want to include in a query then run it, every record in the database which contains the selected field would be returned. A parameter is the value that is used by the select the record 

1.  def greeting (person):

           print “hello”,person

on the first line we have added a variable called person in the brackets and so can now use the variable whenever during the procedure.

Advertisements

Leave a comment

Filed under Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s