- Make use of Python functions to build a list of objects(numbers and strings) input by the user as a string consisting of 'comma'(",") seperated values. 4 marks.
Bonus convert string to int if value is a number. 2 marks
-
Make a string containing the roll number, name and unique 3 digit number input as lists each containing number(roll), string(name) and tuple(UID) 6 marks.
-
Write a Python function to print the contents of a list into a file as a string of values seperated by comma. Use str() to convert non string values to string. 4 marks.