lukethehuman / code-review-tutorial

Code review tutorial exercises
MIT License
0 stars 0 forks source link

python: Exercise 1 #8

Open github-actions[bot] opened 7 months ago

github-actions[bot] commented 7 months ago

Python Exercise 1: Printing out vowels and consonants

A python script vowel_counter.py is supposed to print out the number of vowels and consonants in a string. Several users have reported problems, and one user has put in a pull request to improve the script.

User reports:

Only vowels are getting printed out! This script is not working
This script is printing the number of consonants.
Why is `vowel_counter.py` even printing out the number of consonants?  

Take a look at the python script vowel_counter.py

Take a look at the pull request.

Gurry-12 commented 6 months ago

I have seen your code and made some changes to it. ![Uploading Screenshot 2024-03-28 170222.png…]()

as you said it is not printing the count of consonants. in my version it is printing count and also the list.