name, *line = input().split() in here can i use *line as a list?

前端 未结 0 2020
旧巷少年郎
旧巷少年郎 2021-01-07 15:45

I was doing a question on python and i got "name, *line = input().split() " this line in the code section. Then i searched and found that this line grabs the rest

相关标签:
回答
  • 消灭零回复
提交回复
热议问题