in can be applied to any 'iterable' object : in « Buildin Function « Python






in can be applied to any 'iterable' object

in can be applied to any 'iterable' object

str = "foo"; 

for char in str:
     print char

           
       








Related examples in the same category

1.in function demoin function demo
2.in a rangein a range