Loop can be applied to any 'iterable' object : Iterable Object « Buildin Function « Python






Loop can be applied to any 'iterable' object

Loop can be applied to any 'iterable' object

str = "foo"; 

for char in str:
     print char

           
       

Related examples in the same category