Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ibensusan/uppercase-and-lowercase-counter
This program allows users to enter a sentence, counts the number of uppercase and lowercase letters, and displays both counts.
https://github.com/ibensusan/uppercase-and-lowercase-counter
Last synced: 25 days ago
JSON representation
This program allows users to enter a sentence, counts the number of uppercase and lowercase letters, and displays both counts.
- Host: GitHub
- URL: https://github.com/ibensusan/uppercase-and-lowercase-counter
- Owner: iBensusan
- License: mit
- Created: 2024-10-29T09:06:55.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-10-29T09:07:17.000Z (2 months ago)
- Last Synced: 2024-10-29T10:58:02.418Z (2 months ago)
- Language: Python
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Count Uppercase and Lowercase Letters in String
This program allows users to enter a sentence, counts the number of uppercase and lowercase letters, and displays both counts. It's a simple project focused on working with strings, loops, and basic functions in Python.
## Project Level: Beginner
This project is designed for beginner learners who are still learning and practicing Python fundamentals.
## How the Project Works
The program starts by prompting the user to input a sentence. It then:
1. Counts the number of uppercase letters using list comprehension.
2. Counts the number of lowercase letters using list comprehension.
3. Displays the counts for both uppercase and lowercase letters.## Requirements
- Python 3.x
## Installation
1. Clone this repository or download the upperLowerCounter.py file.
2. Ensure you have Python installed on your computer. This code works with Python 3.x.## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.