I have a problem, its not even in code academy but if anyone's generous enough, please help

Extract Email Provider
Define a function extractEmailprovider(email) that takes email parameter being passed and return the email provider. For example, extractEmailprovider([email protected]) return gmail.com

How do you get rid of test@?

The site stackoverflow.com is used as knowledge-base by millions of programmers
google search
== discussions / opinions ==
python split a string site:stackoverflow.com

print "[email protected]".split(’@’)

['test', 'gmail.com']

print "[email protected]".split(’@’)[1]

1 Like