CentreForDigitalHumanities / CentreForDigitalHumanities/programming-in-python

Exercise 7.1.3 should be simplified

Aberta
#17 1 comentário 0 reações 1 responsável Reivindicada por @JeltevanBoheemen Ver no GitHub
Linguagem predominante
Jupyter Notebook
Estrelas
1
Forks
1
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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.

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.