MCPcopy
hub / github.com/geekcomputers/Python / CNB1

Function CNB1

bookstore_manangement_system.py:89–110  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

87
88
89def CNB1():
90 if y[6] == 0:
91 separator()
92
93 print(" NOW THIS BOOK IS NOT AVAILABLE ")
94
95 elif y[6] > 0 and y[6] <= 8:
96 separator()
97
98 print("WARNING!!!!!!!!!!!!!!!!!!!!!!!")
99 print("NO. OF THIS BOOK IS LOW", "\tONLY", y[6] - 1, "LEFT")
100
101 print()
102 print()
103
104 elif y[6] > 8:
105 separator()
106
107 print("NO. OF BOOKS LEFT IS ", y[6] - 1)
108
109 print()
110 print()
111
112
113def CNB2():

Callers 1

Calls 1

separatorFunction · 0.85

Tested by

no test coverage detected