This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
r/DailyProgrammer Challenge #364 | |
Dice Roller | |
2018 - 06 - 18 | |
https://www.reddit.com/r/dailyprogrammer/comments/8s0cy1/20180618_challenge_364_easy_create_a_dice_roller/?st=jiklnspm&sh=2cffa04e | |
""" | |
from random import randint | |
def identify_dice(dice_string): | |
i = dice_string.find('d') |
NewerOlder