KGSands / Reddit-Challenge-364

Easy challenge. https://www.reddit.com/r/dailyprogrammer/comments/8s0cy1/20180618_challenge_364_easy_create_a_dice_roller/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"# Reddit-Challenge-364"

Example output:

Enter: 5d12

31 : [3, 12, 4, 11, 1]

Enter: 6d4

14 : [1, 1, 3, 3, 2, 4]

Enter: 1d2

1 : [1]

Enter: 1d8

8 : [8]

Enter: 3d6

13 : [3, 5, 5]

Enter: 4d20

54 : [20, 18, 8, 8]

Enter: 100d100

5030 : [23, 61, 61, 33, 19, 34, 28, 55, 61, 70, 81, 25, 51, 89, 39, 19, 58, 54, 28, 5, 98, 11, 63, 63, 70, 26, 59, 26, 26, 64, 87, 29, 77, 95, 65, 47, 67, 78, 67, 39, 35, 54, 95, 39, 44, 5, 74, 29, 44, 43, 3, 75, 71, 29, 45, 64, 71, 34, 46, 44, 45, 79, 90, 63, 24, 93, 79, 21, 13, 71, 36, 86, 42, 32, 68, 82, 4, 68, 51, 42, 36, 40, 88, 95, 50, 17, 18, 34, 39, 49, 59, 32, 8, 48, 51, 6, 52, 77, 50, 97]

About

Easy challenge. https://www.reddit.com/r/dailyprogrammer/comments/8s0cy1/20180618_challenge_364_easy_create_a_dice_roller/


Languages

Language:Python 100.0%