Generate a random alphanumeric string in Python of length 10.
Not applicable
import random 

alphanumeric_string = ''.join(random.choices(string.ascii_letters + string.digits, k=10))

print(alphanumeric_string)