Skip to content

victortavarez23/python-number-pattern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Python Number Pattern Generator 🔢

A utility script that generates a string of sequential numbers from 1 to n, separated by spaces.

The script includes validation to ensure the input n is an integer and is greater than 0.

This is a practice project from the freeCodeCamp Python curriculum.

How to Run

python "Build a Number Pattern Generator.py"

Example Output The script includes several tests to show correct output and error messages.

1 2 3 4 1 1 2 3 4 5 6 7 8 9 10 Argument must be an integer value. Argument must be an integer greater than 0. Argument must be an integer greater than 0.

Technologies Python 3.x Data type validation (isinstance) for loops

About

Python Number Pattern

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages