import time
from say import say

def introduction(tts):
    say("Hello world!",tts)
    say("Computer Science is one of the coolest subjects to study in the modern world.",tts)
    say("Programming is a tool used by Scientists and Engineers to create all kinds of interesting things.",tts)
    say("For example, you can program mobile phones, laptops, cars, the Internet and more. Every day more things are being enhanced by Artificial Intelligence, like me.",tts)
    say("Now I want to talk about what programming is like.",tts)
    say("Programming is about solving puzzles of the real world and helping people deal with important problems to make the world a better place.",tts)
    
    time.sleep(2)
    say("Now, what topic would you like to learn about? Show me a number to choose the activity.",tts)
    say("Number one to practice input and output.",tts)

@@ -1,12 +1,107 @@
+%22%22%22Export long monologues for Nao.%0A%0AFunctions:%0Aintroduction -- Make Nao introduce itself.%0A%22%22%22%0A%0A
 import time%0A
@@ -121,16 +121,17 @@
 rt say%0A%0A
+%0A
 def intr
@@ -145,16 +145,103 @@
 n(tts):%0A
+    %22%22%22Make Nao introduce itself.%0A%0A    Keyword arguments:%0A    tts - Nao proxy.%0A    %22%22%22%0A
     say(
@@ -255,16 +255,17 @@
 world!%22,
+ 
 tts)%0A   
@@ -333,16 +333,24 @@
 y in the
+%0A       
  modern 
@@ -357,16 +357,17 @@
 world.%22,
+ 
 tts)%0A   
@@ -436,16 +436,24 @@
 o create
+%0A       
  all kin
@@ -479,16 +479,17 @@
 hings.%22,
+ 
 tts)%0A   
@@ -556,16 +556,24 @@
 ars, the
+%0A       
  Interne
@@ -627,16 +627,24 @@
 anced by
+%0A       
  Artific
@@ -667,24 +667,25 @@
 , like me.%22,
+ 
 tts)%0A    say
@@ -734,24 +734,25 @@
 g is like.%22,
+ 
 tts)%0A    say
@@ -819,16 +819,24 @@
  helping
+%0A       
  people 
@@ -890,16 +890,24 @@
 a better
+%0A       
  place.%22
@@ -907,25 +907,22 @@
 place.%22,
+ 
 tts)%0A
-    
 %0A    tim
@@ -1007,16 +1007,24 @@
 umber to
+%0A       
  choose 
@@ -1038,16 +1038,17 @@
 ivity.%22,
+ 
 tts)%0A   
@@ -1095,13 +1095,14 @@
 utput.%22,
+ 
 tts)%0A

Document speech.py