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@?

@drewteriyaki,
The site stackoverflow.com is used as knowledge-base by millions of programmers
google search
== discussions / opinions ==
python split a string site:stackoverflow.com
http://stackoverflow.com/questions/743806/split-string-into-a-list-in-python

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

['test', 'gmail.com']

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

gmail.com
1 Like