#!/usr/bin/env python3

def email_list(domains):
	"""The email_list function receives a dictionary, which contains domain names as
	keys, and a list of users as values. It returns a list
	that contains complete email addresses (e.g. <EMAIL>)."""
	emails = []
	for domain, users in domains.items():
	  for user in users:
	    emails.append(user + "@" + domain)
	return(emails)

print(email_list({"gmail.com": ["clark.kent", "diana.prince", "peter.parker"],
    "yahoo.com": ["barbara.gordon", "jean.grey"], "hotmail.com": ["bruce.wayne"]}))
