human
Give me a Python function to select random items from sample samples.
assistant
Here is a Python function to select random items from sample samples

import random

def select_random_items(sample, num_items):
    """Select random items from sample"""
    return random.sample(sample, num_items)

# Enter the sample
mySample = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l','m', 'n', 'o', 'p', 'q', 'r','s', 't', 'u', 'v', 'w', 'x', 'y', 'z']

# Calling the function
print((select_random_items(mySample, 3)))

#Example Output
# ['g', 'y', 'i']

#Remember to inspect code for bugs.