Python Institute Certified Associate in Python Programming PCAP-31-03 Question # 33 Topic 4 Discussion

Python Institute Certified Associate in Python Programming PCAP-31-03 Question # 33 Topic 4 Discussion

PCAP-31-03 Exam Topic 4 Question 33 Discussion:
Question #: 33
Topic #: 4

You are going to read 16 bytes from a binary file into a bytearray called data. Which lines would you use? (Select two answers)


A.

data = bytearray (16) bf.readinto (data)


B.

data = binfile.read (bytearray (16))


C.

bf. readinto (data = bytearray (16))


D.

data = bytearray (binfile.read (16))


Get Premium PCAP-31-03 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.