Refactoring the syntax using list comprehension (#7749)
Refactoring the syntax using list comprehension (#7749)

* Refactoring the syntax using list comprehension

* Update detecting_english_programmatically.py

* Update detecting_english_programmatically.py

Co-authored-by: Christian Clauss <585dd401264c1e46d17ebec1862e5d2a9b6a6c5d@me.com>
TheAlgorithms/Python