Which statement creates the bytes literal when run?
Answers
Answered by
0
Syntax ......... During error in python 2.5
Answered by
0
Statement that creates bytes literal when run is bytes([source [, encoding[, errors]]]).
- The bytes method returns a immutable bytes object initialized with the given size and data.
- It takes three optional parameters such as source, encoding, errors.
- The source parameter can be used to initialize the array are Strings, Integer, Objects, Iterable, No source.
- If a source is a String, then action to take when the encoding conversion fails.
Similar questions