Skip to content

mmitc80/Miscellaneous-Exercises

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Miscellaneous Exercises

A collection of miscellaneous Python programming exercises and experiments.

Contents

This repository contains the following Python scripts:

1. numberinsequence.py

A simple script that prints numbers from 1 to 10 with a 1-second delay between each number.

Usage:

python numberinsequence.py

Features:

  • Demonstrates basic loop iteration
  • Uses time.sleep() for delays
  • Simple sequential output

2. textanimation.py

An animated text script that moves text across the terminal screen.

Usage:

python textanimation.py

Features:

  • 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)

Requirements

  • Python 3.x
  • Standard library modules only (no external dependencies)

Getting Started

  1. Clone this repository:

    git clone https://github.com/mmitc80/Miscellaneous-Exercises.git
    cd Miscellaneous-Exercises
  2. Run any script directly:

    python <script_name>.py

License

This is a collection of educational exercises and experiments.

About

All off-topic programs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages