Take a look at the following snippet:
pets = ['cat', 'dog', 'rabbit', 'parrot', 'hamster']
a, b, *c = pets
What will be the value of c?
Take a look at the following snippet:
pets = ['cat', 'dog', 'rabbit', 'parrot', 'hamster']
a, b, *c = pets
What will be the value of c?
Create a free account to access the full topic