We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 113c029 commit ab9c8f7Copy full SHA for ab9c8f7
Lecture 09 - Et Cetera/12_the_end/the_end.py
@@ -0,0 +1,9 @@
1
+import cowsay
2
+import pyttsx3 # Python Text to Speech library
3
+from this import say
4
+
5
+engine = pyttsx3.init()
6
+this = say()
7
+cowsay.cow(this)
8
+engine.say(this)
9
+engine.runAndWait() # in case it is a long text
Lecture 09 - Et Cetera/12_the_end/this.py
@@ -0,0 +1,10 @@
+def say():
+ return "This was CS50!"
+def main():
+ print(say())
+if __name__ == "__main__":
10
+ main()
0 commit comments