main :
graph = [ [ 0 , 1 , 0 , 1 , 0 ] , [ 1 , 0 , 1 , 0 , 1 ] , [ 0 , 1 , 0 , 1 , 0 ] , [ 1 , 0 , 1 , 0 , 1 ] , [ 0 , 1 , 0 , 1 , 0 ] ] NEW_LINE n = 4 NEW_LINE print ( " Total ▁ cycles ▁ of ▁ length ▁ " , n , " ▁ are ▁ " , countCycles ( graph , n ) ) NEW_LINE