---
tags: 公益程式體驗營 - 2022
---
# 🏅 5/27(五) 每日 JS 刷題任務 - 混合題目 II
### 大樂透選號
* 彩球共 49 顆,分別是 1~49 號
* 新規則:執行 `lotto` 函式會開兩組號碼,兩組號碼不可重複
``` =JavaScript
// input 輸入
lotto()
lotto()
// output 下方為範例隨機選號
// 第一筆
第一組號碼:3,44,11,13,22,49,特別號是 8 號
第二組號碼:1,22,33,45,23,7,特別號是 12 號
// 第二筆
第一組號碼:4,5,6,7,8,9,特別號是 11 號
第二組號碼:30,33,35,37,38,42,特別號是 49 號
```
## 回報流程
1. 將答案貼在 Codepen 並複製 Codepen 連結貼至「回報區」回報
(也可以將答案直接貼至「回報區」)

<!-- 解答: -->
回報區
---
<!-- 0. Bingbingboom(回報範例,請使用註解回報)
答案:(可直接撰寫答案)
Codepen:https://codepen.io/Bingbingboom/pen/jOBZVWq
-->
<!-- 1. Bruno Yu
Codepen:https://codepen.io/bruno-yu/pen/oNEwjZL?editors=1011
-->
<!-- 2. yunyun
Codepen:https://codepen.io/yun_yunni/pen/xxYdyjN
-->
<!-- 3. Aaron
Codepen : https://codepen.io/narrowd4c/pen/mdXqyJW
-->
<!-- 4. han#9437
Codepen : https://codepen.io/qnrxylcw-the-reactor/pen/poapPKJ?editors=1111
-->
<!-- 5. 小鹿Kerwin#5730
Codepen : https://codepen.io/tkoleo84119/pen/VwQybNB?editors=0012
-->
<!-- 6. SASIMI#5099
Codepen :
https://codepen.io/sashimi1327/pen/xxYprpa
-->
<!-- 7. 楓之聲#6945
codepen: https://codepen.io/sshane258/pen/zYRpzvP
-->
<!--8.Vito#7797
https://codepen.io/Vito_Yang/pen/gOvoRQa?editors=0012
-->
<!--9. Noy
https://codepen.io/MochiCodingPen/pen/poapwpw
-->
<!--9. Xiang#5313
https://codepen.io/snorlaxxu/pen/wvypeLg?editors=0010
-->
<!-- 10.IreneLee
codepen:https://codepen.io/ntjtcxpt-the-animator/pen/QWQagVv?editors=1011
-->
<!-- 11.Chi
Codepen: https://codepen.io/YoChi84/pen/dydJVJJ
-->
<!-- 12. yuyu#6310
Codepen: https://codepen.io/yuyu0905/pen/poapWGg?editors=0012
-->
<!-- 13. Tuhacrt#0008
Codepen: https://codepen.io/Tuhacrt/pen/qBxpXxd?editors=0011
-->
<!-- 14. lyle#8123
Codepen: https://codepen.io/tomys/pen/GRQyxpL?editors=0011
-->
<!-- 15. Jason Chen
Codepen: https://codepen.io/jason60810/pen/dydJdBK
-->
<!-- 16. Josh Chen#4552
Codepen: https://codepen.io/hiphop825/pen/eYVyMpW?editors=0011
-->
<!-- 17.Joyce
https://codepen.io/joycehuang/pen/bGLaxWo?editors=0111
-->
<!-- 18.Arista
https://codepen.io/arista-hsieh/pen/poaaoVe
-->
<!-- 19.Knn#0492
https://codepen.io/Knn_84/pen/mdXXdNy
-->
<!-- 20. Lina Chen
https://codepen.io/LinaChen/pen/ZErrBGN
-->
<!-- 21. Pearlie#3536
https://codepen.io/PPcode/pen/ZErrXxY
-->
<!-- 22. hw#0715
https://codepen.io/Lhwei/pen/rNJwMLM
-->
<!-- 23. Cheng-Yu#1813
https://codepen.io/ball77111/pen/eYVVoGj?editors=0011
-->
<!-- 24. Steven Wang
https://codepen.io/stevetanus/pen/ExQLbGX
-->
<!-- 25. 白狐
Codepen:https://codepen.io/baihu7851/pen/BaYVGVO
-->
<!-- 26. 小金#3256
codepen: https://codepen.io/AmoGH357/pen/bGLmvgq
-->
<!-- 26. andersonshen#4675
codepen: https://codepen.io/luxyenni-the-bold/pen/GRQzqZe
-->
<!-- 27. WeiKai
Codepen: https://codepen.io/beginneraboutlife116/pen/oNqgNeV
-->
<!-- 28. Claire#2116
codepen:https://codepen.io/claire-chang-the-bashful/pen/YzaYpYm -->
<!-- 29. Neuf#3083
codepen: https://codepen.io/yifanneuf/pen/xxWvapy?editors=1111 -->