diff --git a/Chapter_05/5-03_alien_colors.py b/Chapter_05/5-03_alien_colors.py new file mode 100644 index 0000000..ebd6a32 --- /dev/null +++ b/Chapter_05/5-03_alien_colors.py @@ -0,0 +1,16 @@ +# Exercise 5-3 Alien Colors +# Learning Objective: Utilize an if statement to determine the color of an alien in a game. + + +#passes +alien_color = 'green' + +if (alien_color == 'green'): + print('Player just scored 5 points!') + +#fails +if (alien_color == 'yellow'): + print('Player just scored 10 points!') + + +