Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.