File: pyshell.text

package info (click to toggle)
python-markdown2 2.3.7-2%2Bdeb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,952 kB
  • sloc: python: 2,790; makefile: 35
file content (17 lines) | stat: -rw-r--r-- 242 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# From Recipe 302035

Some examples:

>>> nprint(9876543210)
'9 876 543 210'
>>> nprint(987654321, period=1, delimiter=",")
'9,8,7,6,5,4,3,2,1,0'

Indented a bit:

 >>> 1 + 1
 2

Cuddled to previous para (and at end of document):
>>> 2 + 2
4