A binary file "Stock.dat" has structure [ItemNo, Item_Name, Company_Name, Cost_Price, Selling_Price].
i. Write a user defined function CreateStockFile() to input data for a record and add
to Stock.dat .
ii. Write a function CountRow(Company_Name) in Python which accepts the Company_Name as parameter and count and return number of Items by the given Company that are stored in the binary file "Stock.dat"
Answers
Answered by
0
Answer:
open Quotes; python It is a Permanent Friends and foe. or laptop or computers
Similar questions