question for python learner | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

question for python learner

which of these pairs are two things with the exact same value? 1. s[3], s[1+1+1] 2. s[0], (s+s)[0] 3. s[0]+s[1], s[0+1] 4. s[1], (s+ 'ity')[1] 5. s[-1], (s+s)[-1]

2nd Jan 2017, 1:47 AM
ghost men
ghost men - avatar
1 Answer
0
1, 2, 4, 5.......why do i have a feeling that this question is from a udacity course
2nd Jan 2017, 1:52 AM
Valentino Ugbala
Valentino Ugbala - avatar