How to type code for the cooking dish

My issue

My code

def(incredient)
{
    q=tom;
    w=onion;
    r=rice;
    t=cooker;
    
}

Learning course: Learn Python
Problem Link: CodeChef: Practical coding for everyone