We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9391235 commit 1efc066Copy full SHA for 1efc066
Status/Day_19.md
@@ -218,6 +218,23 @@ n = list(itertools.product(*sentence))
218
for i in n:
219
print(i)
220
```
221
+---
222
+```python
223
+
224
+'''Solution by: lcastrooliveira
225
+'''
226
+from itertools import product
227
228
+def question_79():
229
+ subject = ["I", "You"]
230
+ verb = ["Play", "Love"]
231
+ object = ["Hockey", "Football"]
232
+ prod = [p for p in product(range(2), repeat=3)]
233
+ for combination in prod:
234
+ print(f'{subject[combination[0]]} {verb[combination[1]]} {object[combination[2]]}')
235
236
+question_79()
237
+```
238
239
---
240
0 commit comments