for num in range ( )if num = continue elseprint(numoutput summary in this we studied conditional statements like ifif-elseifelif-else and nested if-else statements for solving complex problems in python more focuses on loop control in python basically two types of loops available in python like while loopfor loop and nested loop studied how to control the loop using break and continue statements in order to skipping specific condition and terminating loops unit end exercise print the squares of numbers from to using loop control write python program to print the prime numbers of up to given numberaccept the number from the user write python program to print the following pattern write python program to construct the following patternusing nested for loop ****************