Arrange the code in the right hand box so that it defines the function conditional_greeting. This function is fully interactive: it uses input and print. It doesn't have any parameters and it doesn't return a value.
When this function runs, it should ask the user's name and if they are feeling happy, sad or indifferent. It should then respond with a welcome greeting that varies depending on how they are feeling.
Below are example runs:
>>> conditional_greeting() Hey there! What is your name? Craig How are you feeling today? Happy, sad or indifferent? happy That's great! Welcome, Craig! >>> conditional_greeting() Hey there! What is your name? Sam How are you feeling today? Happy, sad or indifferent? sad Sorry to hear that, Sam. Welcome, anyway >>> conditional_greeting() Hey there! What is your name? Sally How are you feeling today? Happy, sad or indifferent? ok Ok that you're ok. Welcome Sally! >>>
Remember to pay attention to indentation!