A collection of miscellaneous Python programming exercises and experiments.
This repository contains the following Python scripts:
A simple script that prints numbers from 1 to 10 with a 1-second delay between each number.
Usage:
python numberinsequence.pyFeatures:
- Demonstrates basic loop iteration
- Uses
time.sleep()for delays - Simple sequential output
An animated text script that moves text across the terminal screen.
Usage:
python textanimation.pyFeatures:
- Creates a moving text animation effect
- Moves text from left to right, then back from right to left
- Automatically adjusts to terminal width
- Cross-platform terminal clearing (Windows and Unix-like systems)
- Python 3.x
- Standard library modules only (no external dependencies)
-
Clone this repository:
git clone https://github.com/mmitc80/Miscellaneous-Exercises.git cd Miscellaneous-Exercises -
Run any script directly:
python <script_name>.py
This is a collection of educational exercises and experiments.