Skip to content

Commit ab9c8f7

Browse files
committed
The End...
1 parent 113c029 commit ab9c8f7

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -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
+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
def say():
2+
return "This was CS50!"
3+
4+
5+
def main():
6+
print(say())
7+
8+
9+
if __name__ == "__main__":
10+
main()

0 commit comments

Comments
 (0)