We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b36e630 commit 187c3bcCopy full SHA for 187c3bc
facade.py
@@ -3,7 +3,7 @@
3
4
import time
5
6
-SLEEP = 0.5
+SLEEP = 0.1
7
8
9
# Complex Parts
proxy.py
@@ -18,17 +18,17 @@ def talk(self):
18
print("Proxy checking for Sales Manager availability")
19
if self.busy == 'No':
20
self.sales = SalesManager()
21
- time.sleep(2)
+ time.sleep(0.1)
22
self.sales.talk()
23
else:
24
25
print("Sales Manager is busy")
26
27
28
class NoTalkProxy(Proxy):
29
def talk(self):
30
31
32
print("This Sales Manager will not talk to you whether he/she is busy or not")
33
34
0 commit comments