I have 2 lists here:
list1 = [happy, sad, grumpy, mad]
list2 = [2, 5, 6, 9]
I want to make it so that the numbers are assigned to the emotions? (happy is equal to 2, sad is equal to 5, etc). Ideally, I want to make it so you can compare items from list1, for example:
if happy > sad:
print ("you are happy")
I want to make this code as efficient as possible, so I do not want to separately assign each variable from list1 a number.