Skip to content

armanatz/random-text-shoppr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 

Repository files navigation

Programming Challenge - Generate random text and output to file

This challenge was given by Shoppr (the Malaysian startup)


Write a 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, ....

About

A challenge given by Shoppr Malaysia done in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages