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(test@gmail.com) 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 "test@gmail.com".split('@')

['test', 'gmail.com']

print "test@gmail.com".split('@')[1]