标签:
Source: http://www.liaoxuefeng.com/
? Escape character: ‘\‘
- ‘\n‘: newline;
- ‘\t‘: tab;
- ‘\\‘: \;
- r‘...‘: no transferring for contents within single quotes;
- ‘‘‘...‘‘‘: multiple lines within triple quotes: could start a new line with ENTER directly. r‘‘‘...‘‘‘ is valid as well.
? Division
- ‘/‘: floating point calculation, alway return float;
- ‘//‘: only return integer part (decimal part is direclty abandoned);
- ‘%‘: return remainder.
标签:
原文地址:http://www.cnblogs.com/minks/p/5514197.html