def register(name:str,age:int,hobbies:tuple)->int:#冒号后面写的是提示信息 print(name) print(age) print(hobbies)register("zhanzhan",29,("play",'music'))
zhanzhan 29 ('play', 'music')
还是想写啥写啥,冒号后面就是提示信息,提示我们使用者应该提交什么类型的参数