0

CHALLENGE: Dobble

This is modified version of Dobble game. 1. Get from user integer which will be size of dobble set 2. From URL: 'http://sixty-north.com/c/t.txt' fetch all words and put them into unique set 3. From this set create two random lists, both with size provided by user in step1 4. Find all common elements from both lists. Example1: User input: 8 ['we', 'other', 'best', 'wisdom', 'direct', 'had', 'that', 'only'] ['going', 'to', 'noisiest', 'other', 'insisted', 'winter', 'period', 'only'] {'other', 'only'} Example2: ['that', 'best', 'wisdom', 'Light'] ['going', 'was', 'winter', 'short'] No common elements All languages are welcome. Have fun!

24th Nov 2017, 2:08 PM
pitmod
1 Respuesta
24th Nov 2017, 5:24 PM
pitmod