Certified Associate in Python Programming (PCAP) — Question 9

Files with the suffix .pyc contain:

Answer options

Correct answer: D

Explanation

.pyc files store bytecode that is generated by the Python interpreter after the source code is compiled, making option D the correct choice. Options A, B, and C are incorrect as they do not accurately describe the purpose of .pyc files.