From 7df0c04faba3195f3daf83619ced0b52ee7b05f9 Mon Sep 17 00:00:00 2001 From: Diego Roversi Date: Sun, 21 Aug 2016 21:11:55 +0100 Subject: Added a new message about number 42 --- callers/read_numbers_aloud.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'callers') diff --git a/callers/read_numbers_aloud.py b/callers/read_numbers_aloud.py index 78de952..7578ae2 100755 --- a/callers/read_numbers_aloud.py +++ b/callers/read_numbers_aloud.py @@ -20,7 +20,7 @@ class Speaker(object): try: getattr(self, 'call_'+number, None)() except TypeError: - self._output("Sto chiamando il numero %s" % number) + self._output("Sto chiamando il numero %s." % number) def call_1234(self): self._output(u"Questa รจ la combinazione della mia valigia.") @@ -31,6 +31,9 @@ class Speaker(object): def call_666(self): self._output(u"Risponde la segreteria telefonica di Satana.") + def call_42(self): + self._output(u"E' la risposta alla domanda fondamentale sulla vita, l'universo e tuttoquanto. Giusto?") + class Reader(object): """Read digits from stdin and turn them into phone numbers.""" -- cgit v1.2.3