Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
words = ["hello", "world", "spam", "egg"]
python3
0 Votes
6 Answers
3rd Nov 2020, 1:37 AM
Sushil Mundhra
words = ["Hello", "world", "!"] print(words[0]) print(words[1]) print(words[2]) how todo?
please
0 Votes
5 Answers
13th Feb 2020, 5:01 PM
Satyam Mishra
words = ["hello", "world", "spam", "eggs"] for word in words: print(word + "!")
loops
2 Votes
4 Answers
11th Aug 2019, 11:12 AM
Hrishikesh Dherange
words = ["hello", "world", "spam", "eggs"] for word in words: print(word + "!")
for
loops
3 Votes
1 Answer
10th Jun 2019, 11:37 AM
Ranjeet singh jitty
words = ["hello", "world", "spam", "eggs"] for word in words: print(word + "!")
loops
5 Votes
1 Answer
27th Feb 2019, 1:36 AM
Monkey D. Luffy
words = ["hello", "world", "spam", "eggs"] for word in words: print(word + "!")
python
0 Votes
3 Answers
29th Nov 2017, 12:05 PM
Programmer
words = ["hello", "world", "spam", "eggs"] for word in words: print(word + "!")
loops
1 Vote
4 Answers
10th Mar 2018, 2:16 PM
Hari Susanth K S
words = ["hello", "world", "spam", "eggs"] for word in words: print(word + "!")
loops
python
0 Votes
2 Answers
18th Jul 2018, 4:00 AM
ADITYA SINHA
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
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
Why isnt it workin?
"world",
["hello",
print(words[0])
print(words[1])
print(words[2])
words
2 Votes
6 Answers
16th Aug 2017, 6:51 AM
Srr
If Im using a loop "for in" didnt I have to declare variable? Like: words = ["hello", "world", "spam", "eggs"] for word in words: print(word + "!") variable word is not declared..
loops
python
1 Vote
2 Answers
24th Aug 2016, 7:34 PM
Yurith gonçalves
Ask a question
Ask a question
Ask a question
Ask a question
Hot today
How to allow one instance of exe
1 Votes
Reverse observer pattern : remove dynamic_cast
2 Votes
purchase of a subscription
1 Votes
Theater management help me
2 Votes
seats = 100 (blank) seats > 0: print "sell ticket" (blank) = seats - 1
0 Votes
What has happened?
1 Votes
What should I add/improve ?
1 Votes
Flight tracker coding foundation help me
1 Votes
Should You Specialize or Diversify in Programming?
1 Votes
Tools for web design?
1 Votes