import random


def roll_dice(num):
    """
    Returns list of random integers representing sides of 6-sided dice.
    Parameter num is number of dice that should be rolled.
    """
    return [random.randint(1, 6) for _ in range(num)]