Post

Ekemini Peter
Ekemini Peter@EkeminiPeter6·
@Python_Dv C #23. The expression y is a concatenation of string characters. Members of the list x are referred to by indexing x[i], where i is 1 & 2 in this case. So elements with index 1 = 2 and index 2 = 3 are concatenated to give 23 as the result.
English
0
0
0
215
laso
laso@lasitolas·
@Python_Dv C..get the position of two values using index 1 and 2 from list and print or rather concatenate from list .
English
0
0
0
111
TarkovKiChai
TarkovKiChai@pran_jello·
@Python_Dv Answer = C as the list x has strings values adding x[1] and x[2] means '23'
English
0
0
0
48
Neosamuraisoul
Neosamuraisoul@Theneogamersoul·
@Python_Dv 1. In the first line, there's a list with string elements. 2. The second line accesses the elements by their index and concatenates them 3.The last line shows the result
English
0
0
0
15
Abhishek
Abhishek@zac390Trempson·
@Python_Dv Error Those dreaming of 5 should do int(x[1]) + int(x[2])
English
0
0
0
23
Paylaş