A Representation of 50/50 chance

Now i know this is not some amazing WOW NEW GAME project or anything but i made this and realized that this was a good representation of 50/50 chance how this works is that there is a 50% chance the program will add a to the string and there is a 50% chance that the program will take away a star from the program and running this shows how even your odds are. for me every time i run it the 's almost always take up about half the screen which shows how a 1 in 2 chance is truly 1 in 2. this can be represented with a coin toss too with the * side being heads and the blank side being tails. just a neat thing i made i thought you guys might want to see enjoy

You are viewing a single comment. View All
Zexogon (311)

also this representation is not perfect because it is random just like its possible to flip 5 heads in a row so keep that in mind

EthanCulp (11)

Actually, it is random, it uses the random module to pick a random selection out of the list. Also, flipping a coin isn't actually random. If you flip a coin, the outcome depends on a bunch of stuff, like wind (if any), power of the flip, and the side the coin started on. All of this is manipulatable, so technically its not random @Zexogon

MatthewDoan1 (234)

@EthanCulp The random module is only pseudorandom.

._.

Zexogon (311)

@EthanCulp & @MatthewDoan1 i never really thought of it this way you guys are really teaching me a lot (also sorry if i put out false information it was just somthing i drew from a hypothetical in my mind)

EthanCulp (11)

Huh, well then, just ignore me then @MatthewDoan1

EthanCulp (11)

Oh no, not at all, I was just making a joke. I was just making a joke and as @MathewDoan1 pointed out, its only pseudorandom, soooo, just ignore me @Zexogon

MatthewDoan1 (234)

@EthanCulp @Zexogon Nothing is ever truly random, so to speak. Since everything depends on cause and effect, well, if you take into account the million billion trillion gazillion factors, such as the force of the flip and the pressure of the air, when you flip a coin, you'll be able to predict whether it lands heads or tails.

But don't mind me, I'm just being pedantic. Pseudorandom is pretty close to random.

Zexogon (311)

@MatthewDoan1 so do you guys like this project?

CodeABC123 (10)

Random things:

• Atmosphere
• Quantum Stuff

NOT the random module.
@EthanCulp