+ 1

I saw this question on a challenge. What is p, n also what does (a,2) stand for?

I need someone to help me understand this. https://code.sololearn.com/cxmWo3VFI3si/?ref=app

14th Apr 2020, 5:59 PM
Tomiwa Joseph
Tomiwa Joseph - avatar
5 Respuestas
+ 4
Print often helps to understand. Here I printed tue enumeration . 2+3+4+5=14 https://code.sololearn.com/cy6e3436iCF3/?ref=app
14th Apr 2020, 6:14 PM
Oma Falk
Oma Falk - avatar
0
Thanks guys. Now I understand. So if enumerate (a), p starts at 0, or enumerate (a, 5), p starts at 5 right?
14th Apr 2020, 6:53 PM
Tomiwa Joseph
Tomiwa Joseph - avatar
0
14th Apr 2020, 6:55 PM
Oma Falk
Oma Falk - avatar
0
P=a, n=2
14th Apr 2020, 8:20 PM
TAIDI JOHN KADIRI