from typing import List
import random


def rollDice(dice1=True) -> int:
    """Returns random number between 1 and 6 or 1 and 12 depending on if dice1 is Treu or False"""
    if dice1 is True:
        rolls: List[int] = [1, 2, 3, 4, 5, 6]
        return random.choice(rolls)
    rolls = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
    return random.choice(rolls)