Write and demonstrate a Lambda function named stg() that appends .txt to its argument. What happens when you call the function with an integer?

What will be an ideal response?

>>> stg = lambda b: b + '.txt'
>>> stg('aaa')
'aaa.txt'

Computer Science & Information Technology

You might also like to view...

Match the following terms to their meanings:

I. File II. Folder III. Window IV. Desktop A. a rectangular area on the computer screen B. a collection of information stored under a single name C. opening screen in Windows that simulates a work area D. a container where files can be stored

Computer Science & Information Technology

Intel’s ________ technology is a set of highly optimized instructions for multimedia tasks.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology