Learn

Perfect! Now let’s review conditional assignment. We’ll take a break from strict editing mode and let you do a bit more writing.

Instructions

1.

Create a variable called favorite_animal and conditionally assign it to a string containing the name of your favorite animal.

Take this course for free

By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.
Already have an account?