Q40. A binary file “EMP.DAT” has structure [ENo, EName, City, Salary].
i. Write a user defined function DevelopFile() to input data for a record and add to EMP.DAT.
ii. Write a function NCity(City) in Python which accepts the City name as parameter and
count and return number of employees residing in that city which are stored in the binary file
“EMP.DAT”.
Answers
Answered by
0
Answer:
this is sql or python I m confused
Similar questions