import random

me = {'str': 2, 'dex': 3, 'con': 5}
enemy = {'str': 100, 'dex': 4, 'con': 200}

def choose(): # случайный атрибут, не превышающий половину вражеского
	matching = list(x for x in me if me[x] <= enemy[x] // 2)
	if not matching: return None
	return random.choice(matching)

print(choose(), choose(), choose(), choose(), choose(), choose(), choose(), choose())