Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 777 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 777 Bytes

Programming Challenge - Generate random text and output to file

Program that will generate four(4) types of printable random objects and store them in a single file, each object will be separated by a ",". These are the 4 objects: alphabetical strings, real numbers, integers, alphanumerics. The alphanumerics should contain a random number of spaces before and after it (not exceeding 10 spaces). The output should be 10MB in size.

Sample extracted output :

hisadfnnasd, 126263, assfdgsga12348fas, 13123.123, lizierdjfklaasf, 123192u3kjwekhf, 89181811238,122, nmarcysfa900jkifh , 3.781, 2.11, ....

Programming Language used

Python 3

Prerequisite

The project requires Python 3.6.2 and above.

How to run

Python3 generateRandom.py

Python3 readRandomTypes.py