()
| 24 | |
| 25 | |
| 26 | def Display(): |
| 27 | cursor.execute("select * from inventory") |
| 28 | record = cursor.fetchall() |
| 29 | print("ID", " ", "Name", " ", "Cost", "", "Quantity") |
| 30 | for i in record: |
| 31 | print(i) |
| 32 | print("Total Number of record=", cursor.rowcount) |
| 33 | |
| 34 | |
| 35 | # Searching product on the basis of product code |