I'm new to python programming language and recently I've just encountered this problem and I really want to know how to solve it
so here's the input:
list = ["Sam-11,Mark-10,Mike-14","Martha-12,Emma-9,Kyla-13"]
the output should be like this:
Mark-10, Emma-9
// Prints the names with the least age in the two strings inside the list including their age