This is the exact question given...I wish I could start or make a stab, but I don't know where to begin:
Submit a Python file named, 'countDemo.py', that defines and demonstrates a function that takes a list of strings and an index and returns the length of the string with the given index. If the index is not valid, the function should return a value of -1.
Thank you in advance for any help or insight anyone can give........
Submit a Python file named, 'countDemo.py', that defines and demonstrates a function that takes a list of strings and an index and returns the length of the string with the given index. If the index is not valid, the function should return a value of -1.
Thank you in advance for any help or insight anyone can give........
Comment