CentreForDigitalHumanities / CentreForDigitalHumanities/programming-in-python
Exercise 7.1.3 should be simplified
Aperta
- Lingua principale
- Jupyter Notebook
- Stelle
- 1
- Fork
- 1
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.