If you don't understand my title just ignore it and read this instead.... so this is my code...
alphabets=["a", "b","c", "d","e","f"]
nums=["one","two"]
for num in nums[:2]:
print(num.title())
print(alphabets[:3])
the output is like this......
one
['a','b','c']
two
['d','e','f']
I don't know what to do I already tried tons of different things. All I need is to get all the code in eight lines and I am expecting to get the output something like this...
one
['a','b','c']
two
['a','b','c']
the only problemis the second line outputs the same thing "a,b,and c" instead i want like "d,e,and f". Please Help! Thanks in advance!