CentreForDigitalHumanities / CentreForDigitalHumanities/programming-in-python
Exercise 7.1.3 should be simplified
オープン
- 主要言語
- Jupyter Notebook
- スター
- 1
- フォーク
- 1
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Exercise 7.1.3 includes the lines:
```
first, *rest = list(words)
text = first
for word in rest:
```
Students are not familiar with this syntax and it should be replaced with:
```
text = words[0]
for word in words[1:]:
```
Also, parameter names `word` or `characters` make more sense since the function is invoked with a single word.
コントリビューションガイド
評価
この issue はまだ評価されていません。