Example & Tutorial understanding programming in easy ways.

What is negative index in Python ?

Python is a language which also works on the negative index.



print(s[0])  //  M

print(s[-1])  // g

print(s[-2])  // n

It work same on list also.

Read More →
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!