This forum is now read-only. Please use our new forums at discuss.codecademy.com.

Control Flow: Switch Forum

View Course » View Exercise

834 points
541fcabd548c35ef4b005fbd_752646848
Submitted by
Runtuk
over 2 years ago

Minor mistake in explanation

This doesn't matter much, but I'll bring it to your attention anyway.

In the explanation of switch statements, it says

A switch statement is similar to an
if / elif / else statement in
that you can check multiple
conditions

If you haven't already spotted it, the issue is that it says

elif

That's Python!

It should be if / else if / else


0 votes

permalink

No, it shuold be if / elseif / else ;)

1008 points
B5a3f5e959e2cdf919c57c37e1a77dbb?s=140&d=retro
Submitted by
Mr.Beer
over 2 years ago


0 votes

permalink

Thanks Runtuk- yeah I thought that was just a typo, as no exp with Python yet. but definitely something wrong

793 points
5480cd8bd3292f48d3000437_540631683
Submitted by
reverethecode
over 2 years ago