Live coding interviews often open with a warm-up: a small function on strings, lists or dictionaries that shows you can write clean Python under a bit of pressure.
Treat each one like the real thing. Read the prompt twice, say out loud what the function takes and returns, and name the edge cases before you type: empty input, capitals and spaces, ties. Then write the simplest version that handles them.
Aim for about five minutes per question. Hidden checks call your function on the edge cases an interviewer would ask about, so a solution that only works on the example isn't done yet.