Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Why doesn't my code produce the correct output? Trolls are attacking your comment section! A common way to deal with this situation is to remove

image text in transcribedimage text in transcribedimage text in transcribed

Why doesn't my code produce the correct output?

Trolls are attacking your comment section! A common way to deal with this situation is to remove all of the vowels from the trolls' comments, neutralizing the threat. Your task is to write a function that takes a string and return a new string with all vowels removed. For example, the string "This website is for losers LOL!" would become "Ths wbst s fr Isrs LL!". Note: for this kata y isn't considered a vowel. Test Passed Test Passed Test Passed The expression (as strings) (actual) == (expected) is false: actual='swzZBsGvPFSMpDkcbsNNTHnNLQbmLwKj lbpLZdwssQsFpVDsGVrVj qgMDPHLzmNSDsZCwRNWWLRhQKQmyDJdHfzK!' expected= 'swzZBsGvPFSMpDkcbsNNTHnNLQbmLwKj lbpLZdwSSQsFpVDsGVrVj qgMDPHLZmNSDsZCwRNWWLRhQkQmyDJdHFZK'. Completed in 14.8804ms Completed in 16.0981ms

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions