Post

Python Programming
Python Programming@PythonPr·
ython Question / Quiz; What is the output of the following Python code, and why?
Python Programming tweet media
English
15
17
159
12.2K
Rangga
Rangga@ranggadannys·
@PythonPr B. Prashant, bcs Phyton indexing starts with 0.
English
0
0
0
334
Naz Ashrafi
Naz Ashrafi@nazanin_ashrafi·
@PythonPr It was too easy so I really thought there must be a trick in this question 😭🤣 The answer is B because the index number starts from 0
English
0
0
0
272
Prashant Sharma
Prashant Sharma@pops1711·
@PythonPr Answer B. Reason indexing but there is one mistake in the database that my age is not 77 😉
English
0
0
0
18
S.H.E
S.H.E@SunnyEmerson_·
@PythonPr B because [1] indicates the second index. Unless there's more to the question 🙂
English
0
0
0
93
Compartir