for i in range(11, 36): print(i, end = ' ') if i % 5 == 0: print() #with ternary operator: #for i in range(11, 36): # print(i, end = ' ' if i % 5 != 0 else '\n')
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment