Gilsham
  • Member for 7 years, 3 months
  • Last seen more than 1 year ago
  • Hamilton, New Zealand
Separate combined words in a sentence and convert them into Pig Latin
3 votes

You are checking the capital letters twice in your loop, you should increment i by 1 when you add in a space. This will also mean you don't need to use i + 1 to de-capitalise the current letter if(...

View answer
Telling me what lesson I have tomorrow and emailing me the results
2 votes

I would add all the classes into an dictionary Courses = { English : ["MondayA", "WednesdayA", "ThursdayA", "FridayA", "TuesdayB", "WednesdayB", "ThursdayB"] ... , Course42 : ["MondayB"] } ...

View answer