Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My First Python Project

This repository contains a simple Python learning script in main.py with 10 basic programs. Each example is written with clear comments and runs from a single file for easy study and experimentation.

Included Programs

  1. Hello World - prints a welcome message.
  2. Add Two Numbers - adds two integers and prints the result.
  3. Check Even or Odd - tests whether a number is even or odd.
  4. Factorial of a Number - computes the factorial of a number using a function.
  5. Multiplication Table - prints the multiplication table for a selected value.
  6. Check Prime Number - determines whether a number is prime.
  7. Reverse a String - reverses and prints a string.
  8. Fibonacci Series - generates Fibonacci numbers up to a limit.
  9. Find Maximum in a List - finds the largest value in a list.
  10. Simple Calculator - performs a basic arithmetic operation between two numbers.

How to Run

  1. Open a terminal in the project folder.
  2. Run:
python main.py

Notes

  • This project is designed for beginners learning Python syntax, functions, conditionals, loops, and printing.
  • Feel free to modify the values and functions in main.py to explore how the examples work.

About

10 Basic Python Programs for Beginners | Python Fundamentals, Logic Building & Problem Solving

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages