0

So, I really need someone to explain to me more about for loops in python

#Let's take this as an example a=list(range(1,7)) #am still new at this so any correlation on line one can be helpful Res=1 For x in a: #my question lies herein so I'll stop but y'all can expand it if needed #they say you can input (x) to (“any_chr”) but I just don't understand where it came from, nor why it's there! # I also need more info on associations between strings in a list and the for loop

19th May 2021, 2:05 PM
Kevin Ngigi
Kevin Ngigi - avatar
2 Answers
+ 2
If you have access to google.com try searching this "for loops in python" you will get relevant results. HAPPY SEARCHING!
20th May 2021, 4:45 AM
NEZ
NEZ - avatar
- 1
Read about loops on w3school.com or somewhere
19th May 2021, 2:14 PM
Bhavik Mahalle
Bhavik Mahalle - avatar