---
# System prepended metadata

title: 13.跳脫字元
tags: [' 筆記', python基礎語法與應用]

---

---
title: 13.跳脫字元
tags: python基礎語法與應用, 筆記
---

# 13.跳脫字元

逃脫字元：
- \n: 換行
- \t:TAB
- \b:backspace




a= "hello\npython"
→hello
python

print(leb(a))
→12
(\n也算一個字)

b= "hello\bpython"
print(b)
→hellpython

print(b == "hellopython")
→False

print(len(b))
→12

# END

