recursive function, programming homework help
recursive function, programming homework help
e, from which you will build a list of all unique characters in that file, using a recursive function. Your recursive function should be called newChar()and should take in at least two parameters: the string from the file and a list to store all of the unique characters. You will not be asking the user for the name of an input file. It will always be named input.txt, and should be able to contain any type of text. Your program should print out the list of all unique characters.
Here is the sample output for hw8_part3.py. bash-4.1$ python hw8_part3.py [‘T’, ‘h’, ‘e’, ‘ ‘, ‘q’, ‘u’, ‘i’, ‘c’, ‘k’, ‘b’, ‘r’, ‘o’, ‘w’, ‘n’, ‘f’, ‘x’, ‘j’, ‘m’, ‘p’, ‘d’, ‘v’, ‘t’, ‘l’, ‘a’, ‘z’, ‘y’, ‘g’, “‘”, ‘s’, ‘.’, ‘n’, ‘”‘, ‘F’] Here is text in the input.txt file used to create the above sample output: The quick brown fox jumped over the lazy dog’s tail. “For realz.”
"You need a similar assignment done from scratch? Our qualified writers will help you with a guaranteed AI-free & plagiarism-free A+ quality paper, Confidentiality, Timely delivery & Livechat/phone Support.
Discount Code: CIPD30
Click ORDER NOW..


