Skip to content

jth-computing/reverser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reverser project

This is a demo project for the Mjukvaruutveckling course at JTH.

This simple program reads a number from the keyboard and prints its reverse.

Running the program

You can run the program like so:

$ python src/reverser.py
Type a number: 123
Its reverse is: 321

Type an integer to get its reverse. Leading zeroes are discarded.

Running the tests

To run the tests, use:

PYTHONPATH=src python tests/test_reverseno.py

On Windows, please use:

set PYTHONPATH=src
python tests/test_reverseno.py

To run the doctests, use:

python src/reverselib.py

About

An incredible reverser program in python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors