over 9 years ago
In python to create for loop refers to executes a sequence of statements multiple times and abbreviates the code that manages the loop variable.
Use the below example to create for loop:
- test = raw_input("what is for loop ")
- for letter in test:
- call = "for loop " + letter + "!"
- print call
- print letter + "!"
- print "how to create for loop"
- print word + "!"
test = raw_input("what is for loop ") for letter in test: call = "for loop " + letter + "!" print call print letter + "!" print "how to create for loop" print word + "!"
Can you help out the community by solving one of the following Javascript problems?
Do activity (Answer, Blog) > Earn Rep Points > Improve Rank > Get more opportunities to work and get paid!
For more topics, questions and answers, please visit the Tech Q&A page.
0 Comment(s)