DAY 28: 100Days of Python
import random, os, time
def rollDice(side):
result = random.randint(1,side)
return result
def health():
healthStat = ((rollDice(6)*rollDice(12))/2)+10
return healthStat
def strength():
strengthStat = ((rollDice(6)*rollDice(8))/2)+12
re...
datapythonist.hashnode.dev1 min read