Python For Loop for Numbers. Python Data Types Python Numbers Python Casting Python Strings. Python for loop examples. The for loop is used with sequence types such as list, tuple and set. Aug-22-2019, 05:29 AM . The above example shows this odd behavior of the for loop because the for loop in Python is not a convention C style for loop, i.e., for (i=0; i