+ 1

Odd = [1,3,5] print((odd+[2,4,6])[4])

query

16th Aug 2019, 1:34 PM
Nandini Asthana
Nandini Asthana - avatar
6 Answers
+ 1
ok thanks
16th Aug 2019, 1:54 PM
Nandini Asthana
Nandini Asthana - avatar
0
What exactly is your question? I'm confused đŸ€”
16th Aug 2019, 1:36 PM
Paul Grasser
Paul Grasser - avatar
0
I have changed look it again
16th Aug 2019, 1:42 PM
Nandini Asthana
Nandini Asthana - avatar
0
I still don't quite understand what you are asking. Do you want an output explanation or...?
16th Aug 2019, 1:47 PM
Paul Grasser
Paul Grasser - avatar
0
ans is 4 ...I want explanation
16th Aug 2019, 1:49 PM
Nandini Asthana
Nandini Asthana - avatar
0
Odd = [1,3,5] # Odd + [2,4,6] would be [1,3,5,2,4,6] # then access 5th element [4] (index 4) is 4
16th Aug 2019, 1:52 PM
Paul Grasser
Paul Grasser - avatar