Для T в диапазоне (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=" ")
Darshan Baniya