Answered You can hire a professional tutor to get the answer.

QUESTION

PYTHON Practice. This is a python practice.I really need some help for the following two parts.Do

Part 3: Echo (5 Points). Write a function called echo that takes as argument a list and returns a copy of that listwith each element duplicated right after it.. Here are some examples of how your program should behave on Python IDLE.>>> echo( [ 'a' , 'b' , 'c' ])['a', 'a', 'b', 'b', 'c', 'c']> >> echo ( [ 'x' , 'y' ] )[ 'x' , 'x', 'y', 'y'l>>> echo ( [85, 72, 61])[85, 85, 72, 72, 61, 61]> >> echo ( [85, "abc", 6.79])[85, 85, 'abc' , 'abc' , 6.79, 6.79]

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question