Computer Science, asked by bhavinmrinalini2172, 1 year ago

Byte datatype can contain only ______ and ______. in python

Answers

Answered by ankurbadani84
8

Answer:-

Byte datatype can contain only 'String' and 'Integer' in python.

Byte object are sequences of integers (between 0 and 255). It is represented by the ASCII value of single byte.

Strings contain Unicode characters. Strings literals are written in single or double quotes. Eg:- 'xvsf' or "dgfsfd".

Bytes objects can be constructed the constructor [called bytes()], and from literals.

Similar questions