The big if's big problem


#1

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/courses/learn-python/lessons/conditionals--control-flow/exercises/the-big-if?action=lesson_resume

<In what way does your code behave incorrectly? Include ALL error messages.>
An exception was raised while running your code, see the console window for the error message.
and
File “python”, line 6
elif ________:
^
IndentationError: expected an indented block
<What do you expect to happen instead?>
I expected that after filling the blanks something would pop up.

```python

Make sure that the_flying_circus() returns True

def the_flying_circus():
if ________: # Start coding here!
# Don’t forget to indent
# the code inside this block!
elif ________:
# Keep going here.
# You’ll want to add the else statement, too!
else:

<do not remove the three backticks above>

#2

Hi @epicoder13,

Did you read the instructions? They’re pretty clear on what to do. :slight_smile:

What do we need? Lets see:

  • an if, elif, and else statement;

  • At least one of and, or, or not (boolean operator);

  • A comparator (==, !=, <, <=, >, or >=)

  • Finally, the_flying_circus() must return True when evaluated.


Now, about this:

What do you mean by that? What would pop up? :thinking: You’re getting the error (IndentationError: expected an indented block) because Python expected a block of code to be indented under your statement.


#3

Thanks @intermediategamer! I will try it.


#4

Thanks @intermediategamer! it worked!


#5

You’re welcome! :+1: Yep, all we needed to do was follow the instructions given. Happy coding! :smile:


#6

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.