Question: 7 . Write a function that will take a string as its argument, and reverse its order. So , the output of the fuction will
Write a function that will take a string as its argument, and reverse its order. So the output of the fuction will be the flipped version of the input string. For e XE xample, if the input is hello the output should be "olleh Do not use builtin functions like flip. Use a for loop. The only builtin function you can use is length.
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
