for t in range(t) python
# Python program to # print all number # divisible by 3 and 5 # using range to print number # divisible by 3 for i in range(0, 30, 3): print(i, end=" ") print() # using range to print number # divisible by 5 for i in range(0, 50, 5): print(i, end=" ")
Source: www.geeksforgeeks.org