alexmojaki / alexmojaki/futurecoder
Handle duplicate functions in solution
Aperta
- Lingua principale
- Python
- Stelle
- 1.5k
- Fork
- 183
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Sometimes students define the required function twice, e.g:
```python
def double(x):
return x + x
def quadruple(x):
return double(double(x))
def quadruple(x):
return double(double(x))
```
This causes an error in the checker making it seem like something has gone wrong. Instead we should just tell the user to define the function only once.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.