if cond statements elsestatements elseif cond statements elsestatements #program on nested if num float(input("enter number")if num > if num = print("zero"elseprint("positive number"elseprint("negative number"repetition statements(loops)for loop while loop for loop the for loop in python is used to iterate over sequence (listtuplestringor other iterable objects iterating over sequence is called traversal