The For loop and the 'in' operator
For loop in python can be really useful and time-saving. The syntax is really simple.
For some variable:
For loop generally is used for going over and over again a sequence.
The 'in' command is to check if a certain value/character exists in a sequence. In the for loop, the most frequently used operator is the 'in' command. This command has the ability to give the character variable name and check for the conditions using the for loop.