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, 22.06.2019 05:00
Lisa has a section of her document that she would like to include in the index. which option should lisa choose? mark index mark entry insert endnote add text
Answers: 3
question
Computers and Technology, 24.06.2019 01:30
How would you cite different books by the same author on the works cited page? moore, jack h. folk songs and ballads. salem: poetry press, 1999. print. moore, jack h. ballads in poetry – a critical review. dallas: garden books, 1962. print. moore, jack h. folk songs and ballads. salem: poetry press, 1999. print. –––. ballads in poetry – a critical review. dallas: garden books, 1962. print. moore, jack h. ballads in poetry – a critical review. dallas: garden books, 1962. print. moore, jack h. folk songs and ballads. salem: poetry press, 1999. print. moore, jack h. ballads in poetry – a critical review. dallas: garden books, 1962. print. –––. folk songs and ballads. salem: poetry press, 1999. print.
Answers: 2
question
Computers and Technology, 24.06.2019 04:30
What is the process in which the software development team compiles information to determine the final product
Answers: 1
question
Computers and Technology, 24.06.2019 05:30
How do i get rid of my member ship for
Answers: 2
You know the right answer?
#In the previous problem, you wrote a function that would #convert text like "abcd efgh ijkl" into "...
Questions
question
English, 01.01.2021 04:50
question
English, 01.01.2021 04:50
question
Mathematics, 01.01.2021 05:00
question
Social Studies, 01.01.2021 05:00
question
English, 01.01.2021 05:00
Questions on the website: 13722361