185k views
4 votes
Write a statement that takes a variable named open_file that contains a file object and reads the next 12 characters into a variable named description.

1 Answer

5 votes

Answer:

description=open_file.read(12)

Step-by-step explanation:

A programming language in computer is a set formal languages that comprises a set of instruction which produce various kinds of output. It is used ti implement algorithms in computer programming.

In the context, description=open_file.read(12) is the statement given to the computer as input which takes a variable named as open_file containing a file object and which reads the next 12 characters into the variable named as description.

User Gilgad
by
4.6k points