CentreForDigitalHumanities / CentreForDigitalHumanities/programming-in-python

Exercise 7.1.3 should be simplified

オープン
#17 コメント 1 件 リアクション 0 件 担当者 1 名 @JeltevanBoheemen が担当を希望しています GitHub で見る
主要言語
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。