I built this Python code with the intent to match each first name with the last name:
first_names = ['Jane','Sam','Deborah']
last_names = ['Simmons','Kaybone','Stone']
for f_name in first_names:
for l_name in last_names:
print(f_name.title() + " " + l_name.title())
But apparently my code prints out all first names with all last_names instead of just (1,1), (2,2), (3,3). How do I tweak this code? Thanks!