alien_color = ['green','yellow','red']
# if else version
if 'green' in alien_color:
    print("Player got 5 points.")
else:
    print("Player got 10 points.")

# if version
if 'green' in alien_color:
    print("Player got 5 points.")
if 'green' not in alien_color:
    print("Player got 10 points.")