#程序有误,求改错
def message(name,colour):
for new_name in name and new_colour in colour:
print(new_name,new_colour)
name1 = ['liming','zhanghua']
colour1 = ['red','blue']
message(name1,colour1)
#程序有误,求改错
def message(name,colour):
for new_name in name and new_colour in colour:
print(new_name,new_colour)
name1 = ['liming','zhanghua']
colour1 = ['red','blue']
message(name1,colour1)
def message(name,colour):
for new_name, new_colour in zip(name, colour):
print(new_name,new_colour)
name1 = ['liming','zhanghua']
colour1 = ['red','blue']
message(name1,colour1)