Question d’entretien chez Snowflake

Can you solve this Python problem?