New course!
Every coder should learn
Generative AI!
Try a free lesson
Courses
Courses
Code Compiler
Code Compiler
Discuss
Get Pro
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
Hello, please help me understand how to solve
1 Votes
Initials of name
1 Votes
post your python code here)
2 Votes
I want these three dots to jump inside that box..please help
1 Votes
Is Java getting left behind? Do questions get upvotes?
1 Votes
Why are the outputs appeared different?
1 Votes
Anybody that can help me fix my pc - long story short I'm dumb and deleted necessary system software files
1 Votes
Help with homework
0 Votes
Forever loop pls help
0 Votes
Is Python Developer just everything from beginner and intermediate combined in one course?
0 Votes