miscellaneous topics condition of an if statementyou can put print statement into the if block to see if the condition is being triggered here is an example from the part of the primes program from earlier in this we put print statement into the for loop to see exactly when the flag variable is being setflag num eval(input'enter number')for in range( ,num)if num% == flag print(iflag an empty input statementlike belowcan be used to pause your program at specific pointinput( example programs it is valuable skill is to be able to read code in this section we will look in depth at some simple programs and try to understand how they work example the following program prints hello random number of times between and from random import randint rand_num randint( , for in range(rand_num)print'hello 'the first line in the program is the import statement this just needs to appear onceusually near the beginning of your program the next line generates random number between and thenremember that to repeat something specified number of timeswe use for loop to repeat something timeswe would use range( in our for loop to repeat something timeswe would use range( to repeat something random number of timeswe can use range(rand_num)where rand_num is variable holding random number although if we wantwe can skip the variable and put the randint statement directly in the range functionas shown below from random import randint for in range(randint( , ))print'hello '