From 72339b6b3668f85868bdae96e292e91ed7dd2871 Mon Sep 17 00:00:00 2001 From: Hui Lan Date: Sun, 14 Apr 2019 21:03:39 +0800 Subject: To make a block of literals, write :: in a separate line. --- LectureNotesOnPython.html | 46 +++++++++++++++++++++++----------------------- LectureNotesOnPython.rst | 45 +++++++++++++++++++++++---------------------- 2 files changed, 46 insertions(+), 45 deletions(-) diff --git a/LectureNotesOnPython.html b/LectureNotesOnPython.html index 600059c..aff0a09 100644 --- a/LectureNotesOnPython.html +++ b/LectureNotesOnPython.html @@ -1661,29 +1661,29 @@ What here shall miss, our toil shall strive to mend.''' print('\n'.join(c))

以上程序运行会输出如下结果。

-
-
a
-
is
-
this
-
example
-
PROLOGUE
-
Romeo and Juliet
-
Two households, both alike in dignity,
-
Whose misadventured piteous overthrows
-
In fair Verona, where we lay our scene,
-
From ancient grudge break to new mutiny,
-
The which if you with patient ears attend,
-
And the continuance of their parents' rage,
-
Is now the two hours' traffic of our stage;
-
Where civil blood makes civil hands unclean.
-
From forth the fatal loins of these two foes
-
A pair of star-cross'd lovers take their life;
-
The fearful passage of their death-mark'd love,
-
Doth with their death bury their parents' strife.
-
What here shall miss, our toil shall strive to mend.
-
Which, but their children's end, nought could remove,
- -
+
+a
+is
+this
+example
+PROLOGUE
+Romeo and Juliet
+Two households, both alike in dignity,
+Whose misadventured piteous overthrows
+In fair Verona, where we lay our scene,
+From ancient grudge break to new mutiny,
+The which if you with patient ears attend,
+And the continuance of their parents' rage,
+Is now the two hours' traffic of our stage;
+Where civil blood makes civil hands unclean.
+From forth the fatal loins of these two foes
+A pair of star-cross'd lovers take their life;
+The fearful passage of their death-mark'd love,
+Doth with their death bury their parents' strife.
+What here shall miss, our toil shall strive to mend.
+Which, but their children's end, nought could remove,
+https://genius.com/William-shakespeare-romeo-and-juliet-act-1-prologue-annotated#note-2756596
+
diff --git a/LectureNotesOnPython.rst b/LectureNotesOnPython.rst index 216c148..b5617be 100644 --- a/LectureNotesOnPython.rst +++ b/LectureNotesOnPython.rst @@ -1421,28 +1421,29 @@ Python 自带的排序算法最快, ``selection_sort`` 最慢。 以上程序运行会输出如下结果。 - -| a -| is -| this -| example -| PROLOGUE -| Romeo and Juliet -| Two households, both alike in dignity, -| Whose misadventured piteous overthrows -| In fair Verona, where we lay our scene, -| From ancient grudge break to new mutiny, -| The which if you with patient ears attend, -| And the continuance of their parents' rage, -| Is now the two hours' traffic of our stage; -| Where civil blood makes civil hands unclean. -| From forth the fatal loins of these two foes -| A pair of star-cross'd lovers take their life; -| The fearful passage of their death-mark'd love, -| Doth with their death bury their parents' strife. -| What here shall miss, our toil shall strive to mend. -| Which, but their children's end, nought could remove, -| https://genius.com/William-shakespeare-romeo-and-juliet-act-1-prologue-annotated#note-2756596 +:: + + a + is + this + example + PROLOGUE + Romeo and Juliet + Two households, both alike in dignity, + Whose misadventured piteous overthrows + In fair Verona, where we lay our scene, + From ancient grudge break to new mutiny, + The which if you with patient ears attend, + And the continuance of their parents' rage, + Is now the two hours' traffic of our stage; + Where civil blood makes civil hands unclean. + From forth the fatal loins of these two foes + A pair of star-cross'd lovers take their life; + The fearful passage of their death-mark'd love, + Doth with their death bury their parents' strife. + What here shall miss, our toil shall strive to mend. + Which, but their children's end, nought could remove, + https://genius.com/William-shakespeare-romeo-and-juliet-act-1-prologue-annotated#note-2756596 -- cgit v1.2.1