- 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.
推薦閱讀
- 黑客攻防從入門到精通(實(shí)戰(zhàn)秘笈版)
- Qt 5 and OpenCV 4 Computer Vision Projects
- SoapUI Cookbook
- Learning Spring 5.0
- Java設(shè)計(jì)模式及實(shí)踐
- 精通網(wǎng)絡(luò)視頻核心開發(fā)技術(shù)
- 青少年P(guān)ython編程入門
- Getting Started with Laravel 4
- Corona SDK Mobile Game Development:Beginner's Guide(Second Edition)
- Learning YARN
- R用戶Python學(xué)習(xí)指南:數(shù)據(jù)科學(xué)方法
- 深入淺出Python數(shù)據(jù)分析
- Visual Basic程序設(shè)計(jì)實(shí)驗(yàn)指導(dǎo)及考試指南
- 軟硬件綜合系統(tǒng)軟件需求建模及可靠性綜合試驗(yàn)、分析、評(píng)價(jià)技術(shù)
- Google Maps JavaScript API Cookbook