Review: Functions (17/19)


#1

Can someone help me with the function’s code I have no idea why it returns the following error. I have gone through all the comments posted but in vain. I am absolutely lost why it gives me this error and I am not able to fix it ;( Your help would be much obliged

. Screenshot (203)


#2

Hi @preethamoorthy,

The if and elif conditions need to check the value of s, not the value of shut_down. Also check the return statement in the if block. The string is incomplete.


#3

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