Im trying to find the first element in each nested list:
x = [,,
So that I get print a string: "hw ayo iaf"
so far I have:
def first_letters():
x = [,,
Thanks!
print(' '.join(''.join(z[0] for z in y) for y in x))
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.