Skip to content

purvaa01/Python-Level1-7

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐍 Python Practice (Levels 1–7)

A collection of Python practice programs completed to build strong foundations in logic-building, loops, functions, lists, and strings.
This repository contains beginner-friendly exercises organized level-wise.


📁 Project Structure

python-practice/ │

├── level1/ # Basics: variables, input, operators

├── level2/ # Conditionals

├── level3/ # Loops

├── level4/ # Patterns

├── level5/ # Lists

├── level6/ # Strings

├── level7/ # Functions

└── README.md

📘 Topics Covered

Level 1 – Basics

  • Print statements
  • Variables & data types
  • Taking user input
  • Basic arithmetic operations

Level 2 – Conditionals

  • if / elif / else
  • Divisibility checks
  • Vowel or consonant
  • Leap year program

Level 3 – Loops

  • for loop, while loop
  • Reverse a number
  • Palindrome (without functions)
  • Basic numeric patterns

Level 4 – Patterns

Examples:

1

12

123

1234

Level 5 – Lists

  • Traversing lists
  • Sum of elements
  • Reverse list manually
  • Count occurrences
  • Find max/min manually

Level 6 – Strings

  • Count uppercase/lowercase letters
  • Remove spaces
  • Reverse string
  • Palindrome check
  • Character frequency

Level 7 – Functions

  • Even/odd function
  • Factorial with function
  • Fibonacci series function
  • Passing list to function

🎯 Objective

To build a strong foundation in Python programming and logic-building through structured practice.

▶️ How to Run

  1. Clone this repository:
git clone https://github.com/<your-username>/<repo-name>.git

Open any level folder.

Run any Python file:

python filename.py






About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages