Share your repls and programming experiences

← Back to all posts
First Repl
TachyonTistaria (4)

Random Number Generator

This Repl is my most advanced Python coding yet.

The aim of this Repl was to create a random number generator that could repeat depending on the users needs. I know it seems REALLY boring and basic, but I am supremely proud of myself!

First off, it will ask you for a minimum range. Second, it should then ask you to input a maximum range greater than the minimum range. Then it should ask you whether or not you would like to repeat the code with the EXACT same ranges, and if so, how many times you would like to repeat it. If you don't want to repeat it, it will only occur once.

I hope you people like it! I am also open to any suggestions, constructive criticism and/or advice!

Hope you all have a lovely day!!

Tachyon Tistaria

Commentshotnewtop
AncientBison (64)

Next try to get a min and a max

TachyonTistaria (4)

@AncientBison Ok! I will certainly try! ^.^

AncientBison (64)

@TachyonTistaria For the repeat you shuld use for i in range(1,repeatNum)

TachyonTistaria (4)

@AncientBison Thank you! I had to change a small part, but thank you! It's so much more efficient! ^.^

Kopamed (231)

These are very good first steps!