@MATTHEWBECHTEL/

Writing as though typing-2

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import sys, time 

def write(string):
    for char in string:
       sys.stdout.write(char)
       sys.stdout.flush()
       time.sleep(0.0625)
write("I am bob the robot! ")
time.sleep(0.225)
write("I am going to read you a passage and your going to answer questions about it. ")
time.sleep(0.225)
write("Follow every word and diget to know if this speed is just right for you. ")
time.sleep(0.225)
write("Here we go. ")
time.sleep(0.225)
write("Python is an easy to learn, powerful programming language. It has efficient high-level data structures and a simple but effective approach to object-oriented programming. Python’s elegant syntax and dynamic typing, together with its interpreted nature, make it an ideal language for scripting and rapid application development in many areas on most platforms. ")
time.sleep(0.225)
write("The Python interpreter and the extensive standard library are freely available in source or binary form for all major platforms from the Python Web site, https://www.python.org/, and may be freely distributed. The same site also contains distributions of and pointers to many free third party Python modules, programs and tools, and additional documentation. ")
time.sleep(0.225)
write("The Python interpreter is easily extended with new functions and data types implemented in C or C++ (or other languages callable from C). Python is also suitable as an extension language for customizable applications. ")
time.sleep(0.225)
write(”)