函数的类型提醒
def register(name:str,age:int,hobbbies:tuple)->int: print(name) print(age) print(hobbbies) return 111 # register(1,'aaa',[1,]) res=register('egon',18,('play','music'))
函数的类型提醒
def register(name:str,age:int,hobbbies:tuple)->int: print(name) print(age) print(hobbbies) return 111 # register(1,'aaa',[1,]) res=register('egon',18,('play','music'))