for loops in python 3 part-6

Published: 02 January 2018
on channel: Cook The Code
8
0

It has the ability to iterate over the items of any sequence, such as a list or a string.

Syntax
for iterating_var in sequence:
statements(s)
If a sequence contains an expression list, it is evaluated first. Then, the first item in the sequence is assigned to the iterating variable iterating_var. Next, the statements block is executed. Each item in the list is assigned to iterating_var, and the statement(s) block is executed until the entire sequence is exhausted.

website:-https://coderworld109.blogspot.in/


Watch video for loops in python 3 part-6 online without registration, duration hours minute second in high quality. This video was added by user Cook The Code 02 January 2018, don't forget to share it with your friends and acquaintances, it has been viewed on our site 8 once and liked it 0 people.