File: pyshell.html

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 (21 lines) | stat: -rw-r--r-- 380 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<h1>From Recipe 302035</h1>

<p>Some examples:</p>

<pre><code>&gt;&gt;&gt; nprint(9876543210)
'9 876 543 210'
&gt;&gt;&gt; nprint(987654321, period=1, delimiter=",")
'9,8,7,6,5,4,3,2,1,0'
</code></pre>

<p>Indented a bit:</p>

<pre><code>&gt;&gt;&gt; 1 + 1
2
</code></pre>

<p>Cuddled to previous para (and at end of document):</p>

<pre><code>&gt;&gt;&gt; 2 + 2
4
</code></pre>