In Python, which of the following statements are true? Function struct.pack returns a value that can be written to a bin
Posted: Tue May 24, 2022 8:29 am
In Python, which of the following statements are true? Function struct.pack returns a value that can be written to a binary file A call to function bytes() returns an object of type string The bytes and bytearray types can be used to store binary data You can write strings or lists to a file opened for writing in binary mode without any conversion The first argument of function struct.pack is a format string