Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite+ 1
def foo(a,*b): return a,b
What is the meaning of *b here??
1 Réponse
+ 2
def foo(a, *b):
return a, b
print(foo(1, 2, 3))
It gives the output as (1, (2, 3))