6 kyu

Proof Read

1,089 of 1,776kkavita92

Description:

You've just finished writing the last chapter for your novel when a virus suddenly infects your document. It has swapped the 'i's and 'e's in 'ei' words and capitalised random letters.

Write a function which will:

  1. Remove the spelling errors in 'ei' words. (Examples of 'ei' words: their, caffeine, deceive, weight)

  2. Only capitalise the first letter of each sentence. Make sure the rest of the sentence is in lower case. Each sentence is separated by a full stop.

Example:

He haD iEght ShOTs of CAffIEne. --> He had eight shots of caffeine.

Strings
Fundamentals

Stats:

CreatedNov 24, 2016
PublishedNov 28, 2016
Warriors Trained2735
Total Skips38
Total Code Submissions9335
Total Times Completed1776
JavaScript Completions1089
Ruby Completions188
Crystal Completions7
Python Completions538
Total Stars32
% of votes with a positive feedback rating92% of 319
Total "Very Satisfied" Votes281
Total "Somewhat Satisfied" Votes27
Total "Not Satisfied" Votes11
Total Rank Assessments8
Average Assessed Rank
6 kyu
Highest Assessed Rank
6 kyu
Lowest Assessed Rank
7 kyu
Ad
Contributors
  • kkavita92 Avatar
  • GiacomoSorbi Avatar
  • narayanswa30663 Avatar
  • Just4FunCoder Avatar
  • saudiGuy Avatar
Ad