Assignment 1 - Question number 4


2 Answer(s)


After if command you need to provide a condition that will either be true or false. Here you can creat a function and pass arguments that can be true or false, then check those arguments in the if/elif/else statements to print appropriate messages. Here you are creating a function named monkey_trouble and also calling the same function (monkey_trouble(True,True)) within the definition of function. So replace these statements with the boolean conditions that returns true or false.

 

Hope this helps!


Thanks Pratixa for helping Krishna.