Skip to content

BlackRose714/my-first-python-projects2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

12 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ My First Python Projects

๐Ÿ‘‹ About Me

Hello! I'm a self-taught developer focused on building clean, functional Python applications.
I enjoy transforming every concept I learn into practical mini-projects and strengthening my logic through hands-on coding.

๐Ÿ’ป I care about:

  • Writing clean, readable, and well-structured code
  • Creating beginner-friendly, useful programs
  • Continuously improving by experimenting with real-world problems

If you're looking for thoughtfully written, beginner-level Python code, feel free to explore my work below.


๐Ÿง  My Learning Journal: Python Beginner Projects

๐Ÿ“š What Iโ€™ve Learned So Far

  • โœ… Variable declaration
  • ๐Ÿ”ข Type conversions (int, str)
  • ๐Ÿ“ฅ Taking user input with input()
  • ๐Ÿ”„ Conditional logic (if, elif, else)
  • โž— Basic math operations
  • ๐Ÿงผ Writing clean and structured code
  • ๐Ÿ” Loops (while, for)
  • โน break and continue statements
  • ๐Ÿงฎ Functions and parameters
  • ๐Ÿ“ Geometric shape classification
  • ๐Ÿชฃ Working with lists
  • ๐Ÿ›  Input validation with try/except

๐Ÿšง Ongoing Progress

Iโ€™m currently building small projects using the concepts above and working toward:

  • ๐Ÿ”Ž Using dictionaries (dict)
  • ๐Ÿ’พ File operations (read/write)
  • ๐Ÿง  More advanced function usage
  • ๐Ÿ— Developing larger beginner projects
  • ๐Ÿ“ Learning Git and GitHub version control

๐Ÿ“‚ Projects


๐Ÿ“Œ Project 1: Factorial Calculator

Description:
A Python program that calculates the factorial of a non-negative integer entered by the user.

๐Ÿง  Concepts Used:

Feature Description
while True Repeats until valid input is given
input() Takes input from the user
int() Converts input to integer
if / else Handles negative values and flow control
for loop Multiplies numbers from 1 to input

โ„น What is a Factorial?

  • 5! = 5 ร— 4 ร— 3 ร— 2 ร— 1 = 120
  • 0! = 1 (by definition)

๐Ÿ“Œ Project 2: User Login & Password Update System

Description:
A simple username/password login simulation. Grants access if credentials match, or offers password update if incorrect.

๐Ÿง  Concepts Used:

  • Variable declaration: gamer_name, gamer_password
  • User input: input()
  • Conditional logic: if, elif, else
  • Infinite loop with while True
  • String comparison and lower() for case-insensitive matching
  • break to exit loop after successful login/update

๐Ÿ“Œ Project 3: Geometric Shape Identifier

Description:
Classifies triangles and quadrilaterals based on side lengths entered by the user.

๐Ÿง  Concepts Used:

  • User input and validation
  • Lists and append()
  • Error handling with try/except
  • Conditional logic: if, elif, else
  • Function usage
  • Shape validation logic (e.g. triangle sum rule)

๐Ÿ“Œ How It Works:

  1. User enters number of sides (3 or 4)
  2. Enters corresponding side lengths
  3. Program identifies:
    • Triangle: Equilateral, Isosceles, Scalene, or Invalid
    • Quadrilateral: Square, Rectangle, or General
  4. Invalid inputs trigger appropriate warnings and restart

โœ… Example Output:

Enter the number of sides (3 / 4): 3 Enter side 1: 4 Enter side 2: 4 Enter side 3: 4 Result: Equilateral Triangle


๐Ÿš€ Why Follow This Repo?

Iโ€™m documenting my learning journey from beginner to developer, one project at a time.
If you're learning Python too, or just enjoy watching a developer grow from scratch โ€” letโ€™s connect and grow together! ๐ŸŒฑ

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published