pass is used to avoid indentation error in python If we take languages like c,c++,java they have braces like
if(i==0)
{}
else
{//some code}
But in python it used indentation instead of braces so to avoid such errors we use pass. Remembered as you were playing a quiz and
if(dont_know_the_answer)
pass
Example program,
for letter in 'geeksforgeeks':
pass
print 'Last Letter :', letter