Implement a function to create a file containing variable length records. This function should take the following argument: (1) a file name and (2) a string. Iterate over the string, creating one record for each letter in the string. Each record should contain:
For length use the following:
length = ord(letter)
For example:
length = ord("A") --> 65
Do not put newline characters between records.
Run your script. Check the content of the file you have created.
What you will learn:
What you will learn:
What you will learn: