0 votes
in Python by
Which statement creates the bytes literal when run?

bytes_literal = bytes.encoded.count(0x54)

bytes_literal = b'Copyright \xc2\xa9'

bytes_literal = bytes.str.count(0x54)

bytes_literal = bytes(str_literal,'utf-8')

1 Answer

0 votes
by
bytes_literal = b'Copyright \xc2\xa9'

Related questions

0 votes
asked Jul 2, 2020 in Python by GeorgeBell
+1 vote
asked Jul 16, 2020 in Python by GeorgeBell
...