[Solved] SOLVED:codeIt function

30 $

File Name: SOLVED:codeIt_function.zip
File Size: 207.24 KB

SKU: [Solved] SOLVED:codeIt function Category: Tag:

Or Upload Your Assignment Here:


Write a function called codeit that takes a string txt as input and returns another string coded as output. The function reverses the alphabet: It replaces each ‘a’ with ‘z’, each ‘b’ with ‘y’, each ‘c’ with ‘x’, etc. The function must work for uppercase letters the same way, but it must not change any other characters. Note that if you call the function twice like this str = codeit(codeit(txt)) then str and txt will be identical.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] SOLVED:codeIt function
30 $