MCPcopy Index your code
hub / github.com/geekcomputers/Python / ViewAll

Function ViewAll

bookstore_manangement_system.py:75–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

73
74
75def ViewAll():
76 print("\u0332".join("BOOK NAMES~~"))
77 print("------------------------------------")
78
79 display = "select * from books"
80 mycur.execute(display)
81 data2 = mycur.fetchall()
82 c = 0
83
84 for y in data2:
85 c = c + 1
86 print(c, "-->", y[1])
87
88
89def CNB1():

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected