Skip to content

Instantly share code, notes, and snippets.

View DaChelimo's full-sized avatar

Andrew Chelimo DaChelimo

View GitHub Profile
@DaChelimo
DaChelimo / dice_roller.py
Created May 6, 2020 12:14
Implementing my knowledge for the random module in this simple project.
import random
count = 0
def roller():
global count
count += 1
num_choice = range(1, 7)
num = num_choice[random.randint(1, 6)]