Challenge: Devise Random Bit Generator

This lesson brings you a challenge to solve.

We'll cover the following

Problem statement

Create a random bit generator that is a program that produces a sequence of 100000 randomly generated 1’s and 0’s using a goroutine.

Hint: You can use the select statement to randomly choose the cases for random generation.

Try to attempt the challenge below. Good Luck!

Get hands-on with 1200+ tech skills courses.