beyondgrader.com Logo
DemoBrowseAboutTeamLogin

Wavy String

ben@rigeltechnical.com // 1.0

Write a function called wavy that takes one str parameter and returns that string converted to wavy case. In wavy case, characters alternate between lowercase and uppercase, with the first letter being lowercase. You can assume that the input string contains only English letters.