You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Corresponding code for ["Simulating Real-World Processes With SimPy."](https://realpython.com/simulation-with-simpy/)
4
+
5
+
## Running the Script
6
+
7
+
The file `simulate.py` contains the script that mimics the tutorial code. You can execute the code by running `python3 simulate.py` from the directory that contains the file.
8
+
9
+
Here is some sample output:
10
+
11
+
```console
12
+
$ python3 simulate.py
13
+
Input # of cashiers working: 1
14
+
Input # of servers working: 1
15
+
Input # of ushers working: 1
16
+
The average wait time is 38 minutes and 7 seconds.
0 commit comments