0
I tried to print out all the positions with male and female passengers but failed. Does anyone know how else i should do?
5 Answers
0
Jay Matthews it just prints out: [âmaleâ,âfemaleâ,âmaleâ] then <generator objectâŠâŠâŠ
0
Jay Matthews i want the positions of the given str not the order
0
Jay Matthews male and female part yes not the <generatorâŠ.part
0
Jay Matthews I changed the code and now i get the right output but on the second output i get extra unknown positions, if u notice why please do tell.
https://code.sololearn.com/cgqcgRx4pV0A/?ref=app
0
Jay Matthews Might be indentation mistake