Skip to content

rjwarrier/Python

Repository files navigation

🐍 Beginner Python Practice Scripts

This repository contains beginner-friendly Python practice scripts designed to help new programmers—especially Chartered Accountancy and finance students—grasp the fundamentals of Python programming using practical, well-commented examples.


📁 Contents

Topic Description
print.py Basic printing of strings, variables, f-strings, and formatted output
input.py Accepting user input and performing arithmetic (e.g., GST invoice)
if.py Simple, nested, and compound conditionals (if, elif, else)
logical_operators.py Use of logical operators and, or, not with conditions
string_methods.py Examples of string manipulation methods like .upper(), .strip()
list_operations.py Creating, modifying, sorting, and deleting elements in lists
tuple.py Introduction to immutable tuples and accessing values
tax_calculator.py Income tax slab calculation using conditional logic

🚀 How to Run

  1. Ensure Python 3 is installed on your system.
  2. Clone the repository or download the files.
  3. Run any script using:
python filename.py

For example:

python tax_calculator.py

🎓 Learning Goals

  • Understand how to declare and print variables.
  • Learn how to take user input and perform calculations.
  • Use conditionals to handle real-world scenarios (tax, age check).
  • Master data structures like lists and tuples.
  • Apply string functions to clean and format text data.
  • Strengthen understanding of logical thinking using Python syntax.

🛠 Recommended Setup


🙌 Acknowledgments

These examples were prepared to help CA and finance students build programming confidence through relatable, real-world examples in Python.


📄 License

MIT License – feel free to use and adapt for educational purposes.

About

Repository for beginner friendly Python Codes for CA Students (ICAI)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages