what is *list python code example
Example 1: python list and list
a = ['apple', 'banana', 'pear']
b = ['fridge', 'stove', 'banana']
a & b == ['banana'] #True
Example 2: python lists
games = ['Fortnite', 'CS:GO', 'Temple Run']
print(games)
a = ['apple', 'banana', 'pear']
b = ['fridge', 'stove', 'banana']
a & b == ['banana'] #True
games = ['Fortnite', 'CS:GO', 'Temple Run']
print(games)