could someone help me out with this question? I'm sure it's simple but I'm new to python.
Question: Create a program where every person meets the other
persons = [ “John”, “Marissa”, “Pete”, “Dayton” ]
What I have so far:
persons = ["John", "Marissa", "Pete", "Dayton"]
them = ["Dayton", "Pete", "Marissa", "John"]
for x in persons:
for y in them:
print(x, "Meets", y)
This works but I don't want to print the same person meeting themself.