while(n=1): code example Example: infinite loop using while infinite loop using 'while'loop ----> while(1)