Question: python is the language used please help immediately 3. Write a function avoid_char that takes as input a string word and a letter char, and
python is the language used please help immediately3. Write a function avoid_char that takes as input a string word and a letter char, and that traverses through word, printing cach character in word except those that are equal to char. For example, avoid_char('hello', '1') should print the letters h. e, and o. And avoid_charl'abracadabra', 'a') should print the letters b. I. c, d, b, and r. 4. Write a function right_justify that takes an input string (whose length is less than 60) and returns a now string that has inserted enough spaces to the left of the input string so 7 N Page
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
