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

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