I would be really grateful if someone can point out my mistakes. Shortly speaking, the sample input is:
2
2
[[Alice,Bob],[15,16],[aliceInsta,BobIsCool1],[@wonderland,@bobbyBoy],[1234567890,4078675309],[[email protected],[email protected]]]
Alice
Bob
2
[[Joe,Eve],[32,45],[AverageJoe,DropperOfEves],[@shoeless,@eve123],[8374629401,3849502837],[[email protected],[email protected]]]
Eve
Joe.
It is really confusing and i need to have an elegant output. The first line of the input should be a number of people for whom data is provided. Then a line with a data, and a third line which represents a number of lines equal to the number of people, with each line containing the name of one person.
two photos are oinned, here is the 3rd last part:
for _ in range(num_people):
person = input().strip()
data = people[person]
print(f"Name: {person}")
print(f"Age: {data['Age']}")
print(f"Instagram: {data['Instagram']}")
print(f"Twitter: {data['Twitter']}")
print(f"Phone: {data['Phone']}")
print(f"Email: {data['Email']}")