subject

#In the previous problem, you wrote a function that would #convert text like "abcd efgh ijkl" into "AbCd eFgH IjKl". # #In the previous problem, you could assume the original #string would be all lower-case, with no punctuation. # #Revise your function so that it no longer makes these #assumptions. It should leave any punctuation marks or #numerals unchanged, and it should change the case of #every letter at an even index. That means if the letter #is initially uppercase, it should be converted to lower #case. # #For example: mock("Abcd. Efgh.. Ijkl!") would return #"abCd. efGh.. IJkL!". The even-index letters (A, C, E, g, #j, l) changed case, all other characters were unchanged. # #HINT: Lowercase letters always have an ordinal between #97 ("a") and 122 ("z"). Uppercase letters always have an #ordinal between 65 ("A") and 90 ("Z"). #Write your function here!

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 03:00
State 7 common key's for every keyboard
Answers: 1
question
Computers and Technology, 23.06.2019 13:30
Best laptops for college [$100-$500 range]?
Answers: 2
question
Computers and Technology, 24.06.2019 22:00
What is a number system, and what is the total number of digits used in this system called? a number system is a system that uses different (options: a) numbers b) symbols c) codes d) digits e) alphabets) to represent different numbers. the total number of digits used in a number system is known as its (options: 1) processor 2) converter 3) radix 4) least significant digit 5) most significant digit)
Answers: 1
question
Computers and Technology, 25.06.2019 05:00
What should you do if a dialog box covers an area of the screen that you need to see?
Answers: 1
You know the right answer?
#In the previous problem, you wrote a function that would #convert text like "abcd efgh ijkl" into "...
Questions
question
Computers and Technology, 16.10.2020 20:01
question
Mathematics, 16.10.2020 20:01