What will be the output generated by the following snippet?
a=[5,10,15,20,25]
k=1
i=a[l]+1
j=a[2]+1
m=a[k+1]
print(i,j,m)
waiting for early replies guys....
Share
What will be the output generated by the following snippet?
a=[5,10,15,20,25]
k=1
i=a[l]+1
j=a[2]+1
m=a[k+1]
print(i,j,m)
waiting for early replies guys....
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Answer:
5,10,15,20,25,[l]+1,5,10,15,20,25[2]+1,5,10,15,20,25[k+1]