Skip to content

Commit 1f66cac

Browse files
committed
2 parents 2d88336 + c67c03a commit 1f66cac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

book/book.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2525,7 +2525,7 @@ \section{Fruitful functions and void functions}
25252525
It is a special value that has its own type:
25262526

25272527
\begin{verbatim}
2528-
>>> print(type(None))
2528+
>>> type(None)
25292529
<class 'NoneType'>
25302530
\end{verbatim}
25312531
%
@@ -4076,7 +4076,7 @@ \section{Keyboard input}
40764076
>>> text = input()
40774077
What are you waiting for?
40784078
>>> text
4079-
What are you waiting for?
4079+
'What are you waiting for?'
40804080
\end{verbatim}
40814081
%
40824082
Before getting input from the user, it is a good idea to print a
@@ -4089,7 +4089,7 @@ \section{Keyboard input}
40894089
What...is your name?
40904090
Arthur, King of the Britons!
40914091
>>> name
4092-
Arthur, King of the Britons!
4092+
'Arthur, King of the Britons!'
40934093
\end{verbatim}
40944094
%
40954095
The sequence \verb"\n" at the end of the prompt represents a {\bf

0 commit comments

Comments
 (0)