Dating agency: Difference between revisions

Content added Content deleted
(Created a new draft task, Dating agency, and added a Wren solution.)
 
Line 85: Line 85:
System.print(eligibles)
System.print(eligibles)
System.print("\nand %(sailor) should offer to date these ones:")
System.print("\nand %(sailor) should offer to date these ones:")
System.print(eligibles.where { |e| e.lovable }.toList)</lang>
System.print(eligibles.where { |e| sailor.love(e) }.toList)</lang>


{{out}}
{{out}}