Edit code: here. | Add this to your website. | Report abuse.
Short URL: N/A
Pasted as Ruby by 9000 on Sunday, December 19th, 2010 1:48am ( 2 years ago )
- def foo()
- # stuff
- valid_emails = ["foo@bar.com", "a@example.com"]
- invalid_emails = ["abz", "a#moo.net"]
- return valid_emails, invalid_emails
- end
- v, inv = foo()
- print "valid: ", v, "n"
- print "invalid: ", inv, "n"