- Learn Python in 7 Days
- Mohit Bhaskar N. Das
- 83字
- 2021-07-09 20:40:22
Escape sequence in Python
The escape sequence is used to insert the tab, the newline, the backspace, and other special characters into your code. They give you greater control and flexibility to format your statements and code:

print 'a'
print 'tHermit'
print "i know , they are 'great'"
The output is as follows:
C:pydev>python hello.py
Hermit
i know , they are 'great'
The preceding code executes with a beep sound. If you did not hear the beep sound, check your speakers.
推薦閱讀
- FuelPHP Application Development Blueprints
- 跟小海龜學Python
- AngularJS深度剖析與最佳實踐
- React.js Essentials
- 從零開始學C語言
- jQuery炫酷應用實例集錦
- C/C++程序員面試指南
- C# Multithreaded and Parallel Programming
- Web性能實戰
- 編寫高質量代碼:改善Objective-C程序的61個建議
- 軟件測試綜合技術
- Serverless Web Applications with React and Firebase
- Python網絡爬蟲技術與應用
- C語言程序設計實訓教程與水平考試指導
- Instant jQuery Boilerplate for Plugins