Skip to content

Latest commit

 

History

History
52 lines (39 loc) · 2.23 KB

File metadata and controls

52 lines (39 loc) · 2.23 KB

HelloWorld

A tiny Python learning/example project containing several small example scripts. What is this

This repository contains Python Beginner style example files demonstrating basic language features (loops, conditionals, functions, strings, argument handling, etc.). The project currently contains files starting fromthe base "HelloWorld" ending with Tuples. Files

HelloWorld.py — Prints "HelloWorld".
args.py — Example(s) showing how to work with command-line arguments.
ChainingComparisonOperators.py — Comparison operator examples.
ComparisonOperators.py — Comparison operator examples.
ConditionalStatments.py — Conditional statements examples.
DefaultArguments.py — Default argument examples for functions.
ForElse.py — for/else loop example.
ForLoops.py — for loop examples.
Funktions.py — Function examples (note: spelling follows repository naming).
InfinteLoops.py — Example demonstrating infinite loops.
Iterables.py — Iterable-related examples.
KeyWordArguments.py — Keyword argument examples.
LogicalOperators.py — Logical operator examples.
NestedLoops.py — Nested loops examples.
NumbersAndWorkingWithNummbers.py — Number handling and math examples.
ShortCircuitEvaluation.py — Short-circuit logic examples.
StringsAndVariables.py — Strings and variables overview.
StringsMethods.py — String method examples.
TernaryOperators.py — Ternary operator examples.
TipeConversion.py — Type conversion examples.
WhileLoops.py — while loop examples.
args.py — Command-line arguments helper/example (duplicate listing for visibility).

Requirements

Python 3.7+ (no external dependencies required for the examples in this repository).

How to run

Instal PyCharm or VS Code.

Open PowerShell in the helloworld directory and run:

python HelloWorld.py

Or run other example files similarly, e.g.:

python args.py python ForLoops.py

Or Just open ther in your code editor or IDE. Notes

This repository is intentionally minimal and educational. If you want a project configuration (packaging metadata, linting, formatting, or dependency management), I can add a pyproject.toml, requirements.txt, .gitignore, and a simple test harness.