RosettaCodeData/Task/Binary-strings/Python/binary-strings-5.py
2023-07-01 11:58:00 -04:00

3 lines
88 B
Python

txt = "Some text"
txt += '\x07'
# txt refers now to a new string having "Some text\x07"