adplus-dvertising
frame-decoration

Question

Which function is used to close a file in python?

a.

Close()

b.

Stop()

c.

End()

d.

Closefile()

Posted under Python

Answer: (a).Close()

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which function is used to close a file in python?