Courses
Courses
Code Compiler
Code Compiler
Discuss
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
what is max_index
loops
python
2 Votes
2 Answers
10th Feb 2017, 4:37 PM
Khan Asfi Reza Pranto
what this command is used for max_index
max_index
python
0 Votes
3 Answers
7th Oct 2018, 11:16 AM
Hugo Parada
Why we write the line -" max_index = len(words) - 1" in the program given bellow?
loops
while
0 Votes
3 Answers
22nd May 2020, 3:56 PM
Kshirod Panigrahi
I donât understand this code. Why is it max_index = len(words)-1? And so on. Please help. Thank you.
loops
0 Votes
3 Answers
9th Jul 2018, 5:52 PM
Shane de Silva
words = ["hello", "world", "spam", "eggs"] counter = 0 max_index = len(words) - 1 while counter <= max_index: word = words
counter
0 Votes
4 Answers
11th Jun 2018, 4:20 PM
Anurag
[SOLVED] Pls will u say what is counter and when we have to use??and when we use max_index and what is it??
counter
index
loops
solved
what
0 Votes
3 Answers
31st Mar 2020, 7:57 AM
Sai Revanth
In this code what is the idea of max_index = len(words) - 1 ? Could someone explain this code step by step please?
loops
python
0 Votes
2 Answers
23rd Nov 2019, 11:51 AM
Esteban Rueda
words = ["hello", "world", "spam", "eggs"] counter = 0 max_index = len(words) - 1 while counter <= max_index: word = words[
loops
python
-1 Vote
2 Answers
29th Jan 2017, 7:09 PM
kumar badal
Counter variable in Python loops
counter
loops
max_index
python
0 Votes
4 Answers
6th Aug 2020, 2:17 AM
Adam Haller
Ask a question
Ask a question
Ask a question
Ask a question
Hot today
Someone can help me
2 Votes
What's wrong with this?
2 Votes
HTML community, HELP!!
1 Votes
X velocity
0 Votes
I am a super beginner
0 Votes
Files not linking in C++
0 Votes
Img & web server or personal info
0 Votes
Web Dev
0 Votes
I want to make a triangle area calculator ,anybody can teach me
1 Votes
How this program executes?
0 Votes