RosettaCodeData/Task/Binary-strings/Python/binary-strings-5.py

4 lines
88 B
Python
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
txt = "Some text"
txt += '\x07'
# txt refers now to a new string having "Some text\x07"