https://github.com/ishmal793/loops-and-strings-
Python practice repo focused on loops and strings, essential for building strong data analytics foundations. Includes beginner-friendly examples and problem-solving exercises.
https://github.com/ishmal793/loops-and-strings-
beginners data-analytics for-loop loops loops-and-iterations practice python string-methods strings while-loop
Last synced: 5 months ago
JSON representation
Python practice repo focused on loops and strings, essential for building strong data analytics foundations. Includes beginner-friendly examples and problem-solving exercises.
- Host: GitHub
- URL: https://github.com/ishmal793/loops-and-strings-
- Owner: Ishmal793
- Created: 2025-04-09T17:00:48.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-04-09T17:03:34.000Z (10 months ago)
- Last Synced: 2025-06-23T15:49:33.401Z (7 months ago)
- Topics: beginners, data-analytics, for-loop, loops, loops-and-iterations, practice, python, string-methods, strings, while-loop
- Language: Jupyter Notebook
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ๐ Python Basics โ Loops & Strings
This repository contains code examples and practice problems focusing on **loops** and **string manipulation** in Python. These are foundational concepts especially useful in **data analytics**, where automation, data cleaning, and text processing are key.
## ๐ Topics Covered
### ๐ Loops
- `for` and `while` loops
- Using `range()` for controlled iteration
- Looping through strings and lists
- Nested loops
- Loop control: `break`, `continue`
### ๐งต String Manipulation
- Indexing and slicing
- String traversal using loops
- Common string methods:
- `.lower()`, `.upper()`
- `.strip()`, `.replace()`
- `.find()`, `.count()`
- `.startswith()`, `.endswith()`
- Using `in` keyword for search
- Concatenation and formatting
## ๐ง Problem-Solving Examples
This repo includes solutions to common string and loop-based problems such as:
- Reversing a string
- Counting vowels and consonants
- Checking for palindromes
- Finding frequency of characters
- Parsing strings from user input
Each example is written with comments and simple logic so that beginners can easily follow along.
## ๐ฝ๏ธ Related Video
## ๐ How to Use This Repo
1. Clone the repo:
```bash
git clone https://github.com/yourusername/loops-strings-.git
```
2. Navigate into the folder:
```bash
cd loops-strings-python
```
3. Open the files in any Python IDE or editor and run them to explore the code.
---
Feel free to share your thoughts or contribute by creating an issue or pull request.