Skip to content

Commit 538da4e

Browse files
authored
Update main.py
1 parent 3f29e49 commit 538da4e

File tree

1 file changed

+7
-3
lines changed
  • Advanced-Questions/02-call-center/Python

1 file changed

+7
-3
lines changed

Advanced-Questions/02-call-center/Python/main.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,20 @@
22
from tabulate import tabulate
33

44
# each pules => 46
5-
# 4% maliat for all call
5+
# 4% tax for all call's
66
# 23-8 am 50%
77
# day 7 call is 75% off
88

99
def get_time(m):
10+
"""
11+
this function get time by defination role
12+
0 - 23
13+
"""
1014
while True:
1115
x = input(m)
1216
try:
1317
x = int(x)
14-
# for getting vlaid time
18+
# for getting vlaid time
1519
if 0 <= x <= 23:
1620
pass
1721
else:
@@ -101,4 +105,4 @@ def main():
101105

102106

103107
if __name__ == "__main__":
104-
main()
108+
main()

0 commit comments

Comments
 (0)