What will be the output of the following program? for i in range(1,6): if i%4 == 0: print(‘x’) elif i%2 == 0: print(‘x’) else: print(‘xxxxx’)
Questions & Answers › Category: Python › What will be the output of the following program? for i in range(1,6): if i%4 == 0: print(‘x’) elif i%2 == 0: print(‘x’) else: print(‘xxxxx’)