0
Q1. Why tuple ? Q2. Why by just adding a * we can put as much arguments as we want ?
def do(p1,*p2): print(type(p2)) do("apple","banana","mango","Grape") It was asked in a challenge answar = <class 'tuple'>
1 Resposta
def do(p1,*p2): print(type(p2)) do("apple","banana","mango","Grape") It was asked in a challenge answar = <class 'tuple'>