Question: Write a function add _ three _ elements 0 that appends the element 'end' three times to the end of a list parameter. Click here
Write a function addthreeelements that appends the element 'end' three times to the end of a list parameter.
Click here for example
Ex: If the input is:
The wheels on the bus go round and round
then the output is:
The 'wheels', on 'the', 'bus', go 'round', 'and', 'round', 'end', 'end', 'end'
I Your code goes here
valuelist input split
addthreeelementsvaluelist
printvaluelist
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
