6 kyu

Change it up

1,244 of 2,751aec58

Description:

Create a function that takes a string as a parameter and does the following, in this order:

  1. Replaces every letter with the letter following it in the alphabet (see note below)
  2. Makes any vowels capital
  3. Makes any consonants lower case

Note:

  • the alphabet should wrap around, so Z becomes A
  • in this kata, y isn't considered as a vowel.

So, for example the string "Cat30" would return "dbU30" (Cat30 --> Dbu30 --> dbU30)

Strings
Fundamentals

More By Author:

Check out these other kata created by aec58

Stats:

CreatedOct 16, 2016
PublishedOct 16, 2016
Warriors Trained4022
Total Skips79
Total Code Submissions9837
Total Times Completed2751
JavaScript Completions1244
Ruby Completions131
Python Completions1331
Crystal Completions13
COBOL Completions6
C Completions79
Haskell Completions16
Total Stars66
% of votes with a positive feedback rating94% of 531
Total "Very Satisfied" Votes474
Total "Somewhat Satisfied" Votes51
Total "Not Satisfied" Votes6
Total Rank Assessments37
Average Assessed Rank
6 kyu
Highest Assessed Rank
6 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • aec58 Avatar
  • GiacomoSorbi Avatar
  • anter69 Avatar
  • JohanWiltink Avatar
  • Blind4Basics Avatar
  • trashy_incel Avatar
  • ejini战神 Avatar
  • akar-0 Avatar
  • Ciprian Amza Avatar
  • dfhwze Avatar
Ad