INLAB-8
INLAB-8 In FFCS students portal, the Register number, name, age, gender, address, phone number, hobby, blood group are stored. Assume that the details are present in a file named as ‘ffcs.csv’ and each field of a record are separated by a ‘,’. Write an algorithm to achieve the following and implement it using functions in Python: a) Read and print the content of the file b) Get a new record with the fields mentioned in order and append the file c) Get a new record with the fields mentioned in order and append to file if the record is new and do nothing otherwise. Register number shall be used for checking if a record is new. d) Find the number of male football players from Kerala e) List the name and phone numbers of girls from Tamilnadu having A+ blood group Write functions for the purpose of items (a) to (e) and call those functions defined in the order from (a) to (e). Input Format For items (b) and (c), read a record from the user. Details of each student are given in the o...